Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -57,6 +57,8 @@ def inference(audio):
|
|
57 |
|
58 |
return f'The main sound is: {infered_class}'
|
59 |
|
60 |
-
examples=[['miaow_16k.wav
|
61 |
-
|
|
|
|
|
62 |
|
|
|
57 |
|
58 |
return f'The main sound is: {infered_class}'
|
59 |
|
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,"audio","text",examples=examples,title=title,description=description).launch(enable_queue=True)
|
64 |
|