Anthos23 commited on
Commit
15d8761
1 Parent(s): 1e6f560

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import streamlit as st
2
- from transformers import AutoTokenizer, AutoModelForSequenceClassification, Trainer
3
 
4
  model_name = "mrm8488/distilroberta-finetuned-financial-news-sentiment-analysis"
5
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
 
1
  import streamlit as st
2
+ from transformers import AutoTokenizer, AutoModelForSequenceClassification, Trainer, TextClassificationPipeline
3
 
4
  model_name = "mrm8488/distilroberta-finetuned-financial-news-sentiment-analysis"
5
  model = AutoModelForSequenceClassification.from_pretrained(model_name)