Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -228,6 +228,6 @@ def prediction(audio):
|
|
228 |
audio_input = gr.Audio(type='filepath', label="Upload an audio file")
|
229 |
emotion_output = gr.Textbox(label="Predicted Emotion")
|
230 |
examples=["male.wav"]
|
231 |
-
interface = gr.Interface(fn=prediction, inputs=audio_input, outputs=emotion_output,
|
232 |
|
233 |
interface.launch()
|
|
|
228 |
audio_input = gr.Audio(type='filepath', label="Upload an audio file")
|
229 |
emotion_output = gr.Textbox(label="Predicted Emotion")
|
230 |
examples=["male.wav"]
|
231 |
+
interface = gr.Interface(fn=prediction, inputs=audio_input, outputs=emotion_output,examples =examples)
|
232 |
|
233 |
interface.launch()
|