Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,8 @@ def summarize_text(text):
|
|
11 |
return sentiment_label, sentiment_score
|
12 |
|
13 |
def main():
|
14 |
-
|
|
|
15 |
if st.button("Analyze Sentiment"):
|
16 |
sentiment_label, sentiment_score = summarize_text(user_input)
|
17 |
if sentiment_label == "LABEL_1":
|
|
|
11 |
return sentiment_label, sentiment_score
|
12 |
|
13 |
def main():
|
14 |
+
st.image("https://huggingface.co/spaces/kushan98/comment_review/resolve/main/cs_img.jpg")
|
15 |
+
user_input = st.text_area("Input your Sentiment")
|
16 |
if st.button("Analyze Sentiment"):
|
17 |
sentiment_label, sentiment_score = summarize_text(user_input)
|
18 |
if sentiment_label == "LABEL_1":
|