Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -60,5 +60,5 @@ def inference(audio):
|
|
60 |
examples=[['miaow_16k.wav']]
|
61 |
title="yamnet"
|
62 |
description="An audio event classifier trained on the AudioSet dataset to predict audio events from the AudioSet ontology."
|
63 |
-
gr.Interface(inference,"
|
64 |
|
|
|
60 |
examples=[['miaow_16k.wav']]
|
61 |
title="yamnet"
|
62 |
description="An audio event classifier trained on the AudioSet dataset to predict audio events from the AudioSet ontology."
|
63 |
+
gr.Interface(inference,gr.inputs.Audio(type="filepath"),"text",examples=examples,title=title,description=description).launch(enable_queue=True)
|
64 |
|