Spaces:
Build error
Build error
DanielDBGC
commited on
Commit
·
79b2d0d
1
Parent(s):
6fc1be7
test
Browse files
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'),
|
| 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')[1],
|
| 16 |
outputs=[gr.Label(label="Result", num_top_classes=3)],
|
| 17 |
title="Guess the language!",
|
| 18 |
)
|