Commit
β’
0884fec
1
Parent(s):
b5f889c
Update app.py
Browse files
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="
|
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 |
|