Spaces:
Runtime error
Runtime error
ZephyruSalsify
commited on
Commit
•
c901c38
1
Parent(s):
0d35448
Update app (1).py
Browse files- app (1).py +1 -1
app (1).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="
|
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 |
|