jfforero commited on
Commit
8ebdf87
·
verified ·
1 Parent(s): 2fb792e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ def get_predictions(audio_input):
88
  # Create the Gradio interface
89
  interface = gr.Interface(
90
  fn=get_predictions,
91
- inputs=gr.Audio(label="Input Audio", type="file"),
92
  outputs=[
93
  gr.Label("Emotion Prediction"),
94
  gr.Label("Transcribed Text"),
 
88
  # Create the Gradio interface
89
  interface = gr.Interface(
90
  fn=get_predictions,
91
+ inputs=gr.Audio(label="Input Audio", type="filepath"),
92
  outputs=[
93
  gr.Label("Emotion Prediction"),
94
  gr.Label("Transcribed Text"),