Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -42,10 +42,11 @@ def predict_audio(file_path):
|
|
42 |
# Gradio Interface
|
43 |
iface = gr.Interface(
|
44 |
fn=predict_audio,
|
45 |
-
|
46 |
-
|
|
|
47 |
live=True,
|
48 |
-
|
49 |
)
|
50 |
|
51 |
# Launch the interface on localhost
|
|
|
42 |
# Gradio Interface
|
43 |
iface = gr.Interface(
|
44 |
fn=predict_audio,
|
45 |
+
title='Capuchin Bird Classification',
|
46 |
+
inputs=gr.Audio(sources=['upload'],type="filepath", label="Upload Audio File"),
|
47 |
+
outputs=outputs=gr.Textbox(),
|
48 |
live=True,
|
49 |
+
|
50 |
)
|
51 |
|
52 |
# Launch the interface on localhost
|