JoanParanoid commited on
Commit
c7d7015
·
verified ·
1 Parent(s): 141ec37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def analyze_financial_news():
28
  # Filter only the news related to "Energy | Oil"
29
  energy_oil_news = [news for news in results if news["label"] == "Energy | Oil"]
30
 
31
- st.write("Energy | Oil News Count:", len(energy_oil_news)) # Debug statement to check the count of Energy | Oil news
32
 
33
  if energy_oil_news:
34
  # If there are news related to "Energy | Oil", perform sentiment analysis for each news
 
28
  # Filter only the news related to "Energy | Oil"
29
  energy_oil_news = [news for news in results if news["label"] == "Energy | Oil"]
30
 
31
+ st.write("Energy | Oil News:", energy_oil_news) # Debug statement to check the Energy | Oil news list
32
 
33
  if energy_oil_news:
34
  # If there are news related to "Energy | Oil", perform sentiment analysis for each news