Update app.py
Browse files
app.py
CHANGED
|
@@ -11,6 +11,8 @@ st.title("Financial Sentiment Analysis Using HuggingFace \n Team Name:- Free Thi
|
|
| 11 |
st.write("Enter a Sentence to Analyze the Sentiment:")
|
| 12 |
|
| 13 |
user_input = st.text_input("")
|
|
|
|
|
|
|
| 14 |
if user_input:
|
| 15 |
result = sentiment_pipeline(user_input)
|
| 16 |
sentiment = result[0]["label"]
|
|
|
|
| 11 |
st.write("Enter a Sentence to Analyze the Sentiment:")
|
| 12 |
|
| 13 |
user_input = st.text_input("")
|
| 14 |
+
st.write("Press the Enter key")
|
| 15 |
+
|
| 16 |
if user_input:
|
| 17 |
result = sentiment_pipeline(user_input)
|
| 18 |
sentiment = result[0]["label"]
|