DanielDBGC commited on
Commit
b653999
1 Parent(s): 79b2d0d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def predict(input_sound):
12
 
13
  gradio_app = gr.Interface(
14
  predict,
15
- inputs= gr.Audio(label="Record or upload someone speaking!", sources=['upload', 'microphone'], type = 'numpy')[1],
16
  outputs=[gr.Label(label="Result", num_top_classes=3)],
17
  title="Guess the language!",
18
  )
 
12
 
13
  gradio_app = gr.Interface(
14
  predict,
15
+ inputs= [gr.Audio(label="Record or upload someone speaking!", sources=['upload', 'microphone'], type = 'numpy')],
16
  outputs=[gr.Label(label="Result", num_top_classes=3)],
17
  title="Guess the language!",
18
  )