jmparejaz commited on
Commit
05856c6
1 Parent(s): 6de8e84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from transformers import pipeline
9
  #call tokenizer and NLP model for text classification
10
  tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/twitter-roberta-base-sentiment-latest")
11
  model_nlp = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/twitter-roberta-base-sentiment-latest")
12
- config = AutoConfig.from_pretrained(model_nlp)
13
 
14
  # call whisper model for audio/speech processing
15
  model = whisper.load_model("small")
 
9
  #call tokenizer and NLP model for text classification
10
  tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/twitter-roberta-base-sentiment-latest")
11
  model_nlp = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/twitter-roberta-base-sentiment-latest")
12
+
13
 
14
  # call whisper model for audio/speech processing
15
  model = whisper.load_model("small")