Spaces:
Sleeping
Sleeping
rpratap2102
commited on
Commit
•
088d37e
1
Parent(s):
8200983
Update app.py
Browse files
app.py
CHANGED
@@ -17,9 +17,9 @@ tokenizer = BertTokenizer.from_pretrained('rpratap2102/The_Misfits')
|
|
17 |
nlp = pipeline("sentiment-analysis", model=finbert, tokenizer=tokenizer)
|
18 |
|
19 |
c_labels = {
|
20 |
-
'Negative': {'text': 'This does not look good for the Market.', 'image': 'negative.
|
21 |
-
'Positive': {'text': 'This seems to be good news for the market.', 'image': 'positive.
|
22 |
-
'Neutral': {'text': "This is normal in the market.", 'image': 'neutral.
|
23 |
}
|
24 |
|
25 |
def load_image(file_name):
|
|
|
17 |
nlp = pipeline("sentiment-analysis", model=finbert, tokenizer=tokenizer)
|
18 |
|
19 |
c_labels = {
|
20 |
+
'Negative': {'text': 'This does not look good for the Market.', 'image': 'negative.gif'},
|
21 |
+
'Positive': {'text': 'This seems to be good news for the market.', 'image': 'positive.gif'},
|
22 |
+
'Neutral': {'text': "This is normal in the market.", 'image': 'neutral.gif'}
|
23 |
}
|
24 |
|
25 |
def load_image(file_name):
|