Spaces:
Sleeping
Sleeping
DanielDBGC
commited on
Commit
•
17e2b70
1
Parent(s):
e91fc04
input change for test
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def predict(input_sound):
|
|
15 |
|
16 |
gradio_app = gr.Interface(
|
17 |
predict,
|
18 |
-
inputs=
|
19 |
outputs=[gr.Label(label="Result", num_top_classes=3)],
|
20 |
title="Guess the language!",
|
21 |
)
|
|
|
15 |
|
16 |
gradio_app = gr.Interface(
|
17 |
predict,
|
18 |
+
inputs= gr.Audio(label="Record or upload someone speaking!", sources=['upload', 'microphone'], type = 'numpy'),
|
19 |
outputs=[gr.Label(label="Result", num_top_classes=3)],
|
20 |
title="Guess the language!",
|
21 |
)
|