Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ def main():
|
|
| 12 |
user_input = st.text_area("Input Text Here")
|
| 13 |
if st.button("Sentiment"):
|
| 14 |
label , score = sentiment_funtion(user_input)
|
| 15 |
-
if label == "
|
| 16 |
label = "Positive"
|
| 17 |
postive_score = score
|
| 18 |
negative_score = 1 - score
|
|
|
|
| 12 |
user_input = st.text_area("Input Text Here")
|
| 13 |
if st.button("Sentiment"):
|
| 14 |
label , score = sentiment_funtion(user_input)
|
| 15 |
+
if label == "LABEL_1":
|
| 16 |
label = "Positive"
|
| 17 |
postive_score = score
|
| 18 |
negative_score = 1 - score
|