Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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")
|