Spaces:
Runtime error
Runtime error
Commit
•
cb47409
1
Parent(s):
5f1735b
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def main():
|
|
14 |
|
15 |
# Perform sentiment analysis on button click
|
16 |
if st.button("Submit"):
|
17 |
-
sentiment="Neutral"
|
18 |
if financial_content.strip():
|
19 |
sentiment_result = perform_sentiment_analysis(financial_content)
|
20 |
if sentiment_result['label'][0]=="5" or sentiment_result['label'][0]=="4" :
|
|
|
14 |
|
15 |
# Perform sentiment analysis on button click
|
16 |
if st.button("Submit"):
|
17 |
+
sentiment="Neutral "
|
18 |
if financial_content.strip():
|
19 |
sentiment_result = perform_sentiment_analysis(financial_content)
|
20 |
if sentiment_result['label'][0]=="5" or sentiment_result['label'][0]=="4" :
|