Spaces:
Running
Running
Update app.py
Browse files
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(
|
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",
|