Spaces:
Build error
Build error
DanielDBGC
commited on
Commit
·
a40cae0
1
Parent(s):
14aba69
corr1
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ def predict(input_img):
|
|
| 9 |
|
| 10 |
gradio_app = gr.Interface(
|
| 11 |
predict,
|
| 12 |
-
inputs=gr.Audio(label="Record or upload ", sources=['upload', 'microphone']),
|
| 13 |
outputs=[gr.Image(label="Processed Voice"), gr.Label(label="Result", num_top_classes=3)],
|
| 14 |
title="Guess the language",
|
| 15 |
)
|
|
|
|
| 9 |
|
| 10 |
gradio_app = gr.Interface(
|
| 11 |
predict,
|
| 12 |
+
inputs=gr.Audio(label="Record or upload ", sources=['upload', 'microphone'], type = 'numpy'),
|
| 13 |
outputs=[gr.Image(label="Processed Voice"), gr.Label(label="Result", num_top_classes=3)],
|
| 14 |
title="Guess the language",
|
| 15 |
)
|