rpratap2102 commited on
Commit
088d37e
1 Parent(s): 8200983

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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.png'},
21
- 'Positive': {'text': 'This seems to be good news for the market.', 'image': 'positive.png'},
22
- 'Neutral': {'text': "This is normal in the market.", 'image': 'neutral.png'}
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):