jc180 commited on
Commit
0d68ce7
·
1 Parent(s): c051c7d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def classify_sound(file_path):
35
 
36
  demo = gr.Interface(
37
  fn=classify_sound,
38
- inputs=gr.Audio(source="upload", type="filepath"),
39
  outputs=gr.Label(num_top_classes=5),
40
  title="Audio Classification with AST",
41
  description="Upload an audio clip (speech, music, ambient sound, etc.). Model: MIT AST fine-tuned on AudioSet (10 classes).",
 
35
 
36
  demo = gr.Interface(
37
  fn=classify_sound,
38
+ inputs=gr.Audio(sources="upload", type="filepath"),
39
  outputs=gr.Label(num_top_classes=5),
40
  title="Audio Classification with AST",
41
  description="Upload an audio clip (speech, music, ambient sound, etc.). Model: MIT AST fine-tuned on AudioSet (10 classes).",