Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -23,12 +23,11 @@ interface_options = {
|
|
23 |
"title": "Music Genre Classification",
|
24 |
"description": "The audio classifier for those who are the best and only want and require the best",
|
25 |
"interpretation": "default",
|
26 |
-
"layout": "horizontal",
|
27 |
# Audio from validation file
|
28 |
"allow_flagging": "never"
|
29 |
}
|
30 |
|
31 |
-
demo = gr.
|
32 |
fn=classify_audio, inputs=gr.Audio(type="filepath"), outputs=[gr.outputs.Label()], **interface_options
|
33 |
)
|
34 |
-
demo.launch(debug=
|
|
|
23 |
"title": "Music Genre Classification",
|
24 |
"description": "The audio classifier for those who are the best and only want and require the best",
|
25 |
"interpretation": "default",
|
|
|
26 |
# Audio from validation file
|
27 |
"allow_flagging": "never"
|
28 |
}
|
29 |
|
30 |
+
demo = gr.interface(
|
31 |
fn=classify_audio, inputs=gr.Audio(type="filepath"), outputs=[gr.outputs.Label()], **interface_options
|
32 |
)
|
33 |
+
demo.launch(debug=False)
|