JoanParanoid commited on
Commit
0884fec
β€’
1 Parent(s): b5f889c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ def analyze_financial_news():
7
 
8
  # Load the text classification model and finetuned model pipeline
9
  classification = pipeline("text-classification", model="nickmuchi/finbert-tone-finetuned-finance-topic-classification", token=access+token)
10
- sentiment_analysis = pipeline("text-classification", model="JoanParanoid/FinNews_SentimentAnalysis_v2")
11
 
12
  st.set_page_config(page_title="Energy/Oil-Related Financial News Sentiment Analysis", page_icon="β™•")
13
 
 
7
 
8
  # Load the text classification model and finetuned model pipeline
9
  classification = pipeline("text-classification", model="nickmuchi/finbert-tone-finetuned-finance-topic-classification", token=access+token)
10
+ sentiment_analysis = pipeline("text-classification", model="ZephyruSalsify/FinNews_SentimentAnalysis_v3")
11
 
12
  st.set_page_config(page_title="Energy/Oil-Related Financial News Sentiment Analysis", page_icon="β™•")
13