ZephyruSalsify commited on
Commit
06964b7
1 Parent(s): a2a85ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
3
 
4
  # Load the text classification model pipeline
5
  analysis = pipeline("text-classification", model='ZephyruSalsify/FinNews_SentimentAnalysis_Test')
6
- classification = pipeline("text-classification", model="nickmuchi/finbert-tone-finetuned-finance-topic-classification")
7
 
8
  st.set_page_config(page_title="Financial News Analysis", page_icon="♕")
9
  st.header("Make Analysis for Financial News")
 
3
 
4
  # Load the text classification model pipeline
5
  analysis = pipeline("text-classification", model='ZephyruSalsify/FinNews_SentimentAnalysis_Test')
6
+ classification = pipeline("text-classification", model="nickmuchi/finbert-tone-finetuned-finance-topic-classification", token=access_token)
7
 
8
  st.set_page_config(page_title="Financial News Analysis", page_icon="♕")
9
  st.header("Make Analysis for Financial News")