Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -64,4 +64,11 @@ def movie_evaluation_predict(sentence):
|
|
64 |
st.write("(긍정 확률 : %.2f) 긍정적인 영화 평가입니다." % predict_value)
|
65 |
|
66 |
sentiment_model = create_sentiment_bert()
|
67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
st.write("(긍정 확률 : %.2f) 긍정적인 영화 평가입니다." % predict_value)
|
65 |
|
66 |
sentiment_model = create_sentiment_bert()
|
67 |
+
|
68 |
+
test = st.form('test')
|
69 |
+
sentence = test.text_input("Your sentence")
|
70 |
+
submit = test.form_submit_button("Submit")
|
71 |
+
|
72 |
+
if submit:
|
73 |
+
movie_evaluation_predict(sentence)
|
74 |
+
|