Spaces:
Runtime error
Runtime error
Commit
·
eee63b4
1
Parent(s):
8b471dc
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ title="Whisper to Emotion"
|
|
11 |
|
12 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
13 |
|
14 |
-
whisper = gr.
|
15 |
|
16 |
emotion_classifier = pipeline("text-classification",model='bhadresh-savani/distilbert-base-uncased-emotion')
|
17 |
|
|
|
11 |
|
12 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
13 |
|
14 |
+
whisper = gr.Interface.load(name="spaces/sanchit-gandhi/whisper-large-v2")
|
15 |
|
16 |
emotion_classifier = pipeline("text-classification",model='bhadresh-savani/distilbert-base-uncased-emotion')
|
17 |
|