suriya7 commited on
Commit
1dee290
·
verified ·
1 Parent(s): f17a02d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -42,10 +42,11 @@ def predict_audio(file_path):
42
  # Gradio Interface
43
  iface = gr.Interface(
44
  fn=predict_audio,
45
- inputs=gr.File(type="audio", label="Upload Audio File"),
46
- outputs="text",
 
47
  live=True,
48
- interpretation="default"
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