bvallegc commited on
Commit
97df2cd
·
1 Parent(s): df2bb17

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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.Interface(
32
  fn=classify_audio, inputs=gr.Audio(type="filepath"), outputs=[gr.outputs.Label()], **interface_options
33
  )
34
- demo.launch(debug=True)
 
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)