Spaces:
Runtime error
Runtime error
ZephyruSalsify
commited on
Commit
•
a2a85ed
1
Parent(s):
49e3813
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the text classification model pipeline
|
5 |
-
analysis = pipeline("text-
|
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="♕")
|
|
|
2 |
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="♕")
|