Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -227,7 +227,7 @@ def prediction(audio):
|
|
227 |
#upload_input = gr.Audio( type="filepath", label="Upload File")
|
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()
|
|
|
227 |
#upload_input = gr.Audio( type="filepath", label="Upload File")
|
228 |
audio_input = gr.Audio(type='filepath', label="Upload an audio file")
|
229 |
emotion_output = gr.Textbox(label="Predicted Emotion")
|
230 |
+
examples=[["male.wav"],["2902-9008-0000.flac"]]
|
231 |
interface = gr.Interface(fn=prediction, inputs=audio_input, outputs=emotion_output,examples =examples)
|
232 |
|
233 |
interface.launch()
|