Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def classify_audio(audio_file):
|
|
| 13 |
# Gradio Interface
|
| 14 |
iface = gr.Interface(
|
| 15 |
fn=classify_audio,
|
| 16 |
-
inputs=gr.Audio(type="
|
| 17 |
outputs=gr.Textbox(),
|
| 18 |
live=True,
|
| 19 |
)
|
|
|
|
| 13 |
# Gradio Interface
|
| 14 |
iface = gr.Interface(
|
| 15 |
fn=classify_audio,
|
| 16 |
+
inputs=gr.Audio(type="filepath", label="Upload or Record Audio"),
|
| 17 |
outputs=gr.Textbox(),
|
| 18 |
live=True,
|
| 19 |
)
|