Update app.py
Browse files
app.py
CHANGED
@@ -13,9 +13,7 @@ def classify_audio(filepath):
|
|
13 |
import gradio as gr
|
14 |
|
15 |
demo = gr.Interface(
|
16 |
-
fn=classify_audio, inputs=gr.Audio(type="filepath"), outputs="label"
|
17 |
)
|
18 |
|
19 |
-
examples = ['normal.wav']
|
20 |
-
|
21 |
demo.launch(debug=True)
|
|
|
13 |
import gradio as gr
|
14 |
|
15 |
demo = gr.Interface(
|
16 |
+
fn=classify_audio, inputs=gr.Audio(type="filepath"), outputs="label", examples = ['normal.wav']
|
17 |
)
|
18 |
|
|
|
|
|
19 |
demo.launch(debug=True)
|