Spaces:
Runtime error
Runtime error
GirishKiran
commited on
Commit
·
00bef60
1
Parent(s):
7457cc5
removed whisper
Browse files
app.py
CHANGED
@@ -213,7 +213,6 @@ class SentimentAnalyser(object):
|
|
213 |
modelLink = "bhadresh-savani/distilbert-base-uncased-emotion" #"SamLowe/roberta-base-go_emotions"
|
214 |
self.tokenizer = AutoTokenizer.from_pretrained(modelLink)
|
215 |
self.model = AutoModelForSequenceClassification.from_pretrained(modelLink)
|
216 |
-
self.whisper_model = whisper.load_model("small")
|
217 |
return
|
218 |
|
219 |
sentiment = SentimentAnalyser(name="EmotionAnalyser")
|
|
|
213 |
modelLink = "bhadresh-savani/distilbert-base-uncased-emotion" #"SamLowe/roberta-base-go_emotions"
|
214 |
self.tokenizer = AutoTokenizer.from_pretrained(modelLink)
|
215 |
self.model = AutoModelForSequenceClassification.from_pretrained(modelLink)
|
|
|
216 |
return
|
217 |
|
218 |
sentiment = SentimentAnalyser(name="EmotionAnalyser")
|