macaodha commited on
Commit
d24e285
·
verified ·
1 Parent(s): 12b262a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ descr_txt = "Demo of BatDetect2 deep learning-based bat echolocation call detect
95
 
96
  gr.Interface(
97
  fn = make_prediction,
98
- inputs = [gr.Audio(source="upload", type="filepath", optional=True),
99
  gr.Dropdown([0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9])],
100
  outputs = [df, gr.Image(label="Visualisation")],
101
  theme = "huggingface",
 
95
 
96
  gr.Interface(
97
  fn = make_prediction,
98
+ inputs = [gr.Audio(sources=["upload"], type="filepath", optional=True),
99
  gr.Dropdown([0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9])],
100
  outputs = [df, gr.Image(label="Visualisation")],
101
  theme = "huggingface",