AescF commited on
Commit
84cc55e
1 Parent(s): b65e4ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -93,6 +93,8 @@ description = """
93
  Demo for a music genre classifier trained on [GTZAN](https://huggingface.co/datasets/marsyas/gtzan)
94
  For more info checkout [GITHUB](https://github.com/AEscF)
95
  """
 
 
96
  demo = gr.Interface(
97
  fn=classify_audio,
98
  inputs=gr.Audio(type="filepath"),
 
93
  Demo for a music genre classifier trained on [GTZAN](https://huggingface.co/datasets/marsyas/gtzan)
94
  For more info checkout [GITHUB](https://github.com/AEscF)
95
  """
96
+ filenames = ['blues.00098.wav', "disco.00020.wav", "classical.00075.wav","keyboard-153960.mp3"]
97
+ filenames = [[f"./{f}"] for f in filenames]
98
  demo = gr.Interface(
99
  fn=classify_audio,
100
  inputs=gr.Audio(type="filepath"),