Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ emo = EmotionFromVoice()
|
|
8 |
|
9 |
|
10 |
def transcribe(audio):
|
11 |
-
emotion = emo(audio)
|
12 |
return emotion
|
13 |
|
14 |
def get_asr_interface():
|
|
|
8 |
|
9 |
|
10 |
def transcribe(audio):
|
11 |
+
emotion = emo.predict(audio)
|
12 |
return emotion
|
13 |
|
14 |
def get_asr_interface():
|