Spaces:
Build error
Build error
ZephyruSalsify
commited on
Commit
•
2d550d7
1
Parent(s):
8ede0a2
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ access = "hf_"
|
|
5 |
token = "hhbFNpjKohezoexWMlyPUpvJQLWlaFhJaa"
|
6 |
|
7 |
# Load the text classification model pipeline
|
8 |
-
analysis = pipeline("text-classification", model='ZephyruSalsify/
|
9 |
classification = pipeline("text-classification", model="nickmuchi/finbert-tone-finetuned-finance-topic-classification", token=access+token)
|
10 |
|
11 |
st.set_page_config(page_title="Financial News Analysis", page_icon="♕")
|
|
|
5 |
token = "hhbFNpjKohezoexWMlyPUpvJQLWlaFhJaa"
|
6 |
|
7 |
# Load the text classification model pipeline
|
8 |
+
analysis = pipeline("text-classification", model='ZephyruSalsify/FinNews_SentimentAnalysis')
|
9 |
classification = pipeline("text-classification", model="nickmuchi/finbert-tone-finetuned-finance-topic-classification", token=access+token)
|
10 |
|
11 |
st.set_page_config(page_title="Financial News Analysis", page_icon="♕")
|