Spaces:
Runtime error
Runtime error
Commit
·
3ae5bc7
1
Parent(s):
380824f
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def translate_and_classify(audio):
|
|
41 |
|
42 |
emotion = emotion_classifier(translation.text)
|
43 |
detected_emotion = emotion[0]["label"]
|
44 |
-
print("Detected
|
45 |
return transcription.text, detected_emotion
|
46 |
|
47 |
css = """
|
|
|
41 |
|
42 |
emotion = emotion_classifier(translation.text)
|
43 |
detected_emotion = emotion[0]["label"]
|
44 |
+
print("Detected Emotion: ", detected_emotion)
|
45 |
return transcription.text, detected_emotion
|
46 |
|
47 |
css = """
|