Spaces:
Runtime error
Runtime error
immelstorun
commited on
Commit
·
08a22c7
1
Parent(s):
23b1e2a
Update app.py
Browse files
app.py
CHANGED
@@ -42,9 +42,8 @@ audio_files_list = get_audio_files_list()
|
|
42 |
inputs = gr.Dropdown(label="Select Audio", choices=audio_files_list)
|
43 |
outputs = [gr.outputs.Textbox(label="Predicted Emotion"), gr.outputs.Audio(label="Play Audio")]
|
44 |
|
45 |
-
title = "ML Speech Emotion
|
46 |
description = "Speechbrain powered wav2vec 2.0 pretrained model on IEMOCAP dataset using Gradio."
|
47 |
-
|
48 |
-
|
49 |
-
# interface = gr.Interface(fn=predict_emotion, inputs=inputs, outputs=outputs, title=title, description=description)
|
50 |
interface.launch()
|
|
|
42 |
inputs = gr.Dropdown(label="Select Audio", choices=audio_files_list)
|
43 |
outputs = [gr.outputs.Textbox(label="Predicted Emotion"), gr.outputs.Audio(label="Play Audio")]
|
44 |
|
45 |
+
title = "ML Speech Emotion Detection"
|
46 |
description = "Speechbrain powered wav2vec 2.0 pretrained model on IEMOCAP dataset using Gradio."
|
47 |
+
|
48 |
+
interface = gr.Interface(fn=predict_emotion, inputs=inputs, outputs=outputs, title=title, description=description)
|
|
|
49 |
interface.launch()
|