Update app.py
Browse files
app.py
CHANGED
|
@@ -86,7 +86,7 @@ def get_predictions(audio_input):
|
|
| 86 |
# Create the Gradio interface
|
| 87 |
interface = gr.Interface(
|
| 88 |
fn=get_predictions,
|
| 89 |
-
inputs=gr.Audio(label="Input Audio", type="
|
| 90 |
outputs=[gr.Label("Prediction"), gr.Image(type='pil')]
|
| 91 |
)
|
| 92 |
|
|
|
|
| 86 |
# Create the Gradio interface
|
| 87 |
interface = gr.Interface(
|
| 88 |
fn=get_predictions,
|
| 89 |
+
inputs=gr.Audio(label="Input Audio", type="filepath"),
|
| 90 |
outputs=[gr.Label("Prediction"), gr.Image(type='pil')]
|
| 91 |
)
|
| 92 |
|