Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def analyze_financial_news():
|
|
35 |
st.write("Sentiment:", sentiment_results["label"])
|
36 |
st.write("Sentiment Score:", sentiment_results["score"])
|
37 |
else:
|
38 |
-
st.write("
|
39 |
|
40 |
def main():
|
41 |
analyze_financial_news()
|
|
|
35 |
st.write("Sentiment:", sentiment_results["label"])
|
36 |
st.write("Sentiment Score:", sentiment_results["score"])
|
37 |
else:
|
38 |
+
st.write("This financial news does not belong to the 'Energy | Oil' category. Please enter a relevant news article.")
|
39 |
|
40 |
def main():
|
41 |
analyze_financial_news()
|