Spaces:
Runtime error
Runtime error
ZephyruSalsify
commited on
Commit
•
067dbd3
1
Parent(s):
06964b7
Update app.py
Browse files
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", token=
|
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=HF_TOKEN)
|
7 |
|
8 |
st.set_page_config(page_title="Financial News Analysis", page_icon="♕")
|
9 |
st.header("Make Analysis for Financial News")
|