Teapack1 commited on
Commit
f422dfc
1 Parent(s): 6f8c3ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -35,6 +35,13 @@ file_classify = gr.Interface(
35
  inputs=gr.inputs.Audio(source="upload", optional=True, label="Audio file", type="filepath"),
36
  theme="huggingface",
37
  outputs=gr.outputs.Label(),
 
 
 
 
 
 
 
38
  )
39
 
40
  # iface.test_examples(example_samples)
 
35
  inputs=gr.inputs.Audio(source="upload", optional=True, label="Audio file", type="filepath"),
36
  theme="huggingface",
37
  outputs=gr.outputs.Label(),
38
+ examples=[
39
+ ["./scene3_329.wav", "classify", False],
40
+ ["./scene1_200.wav", "classify", True],
41
+ ["./light_422.wav", "classify", True],
42
+ ["./ambient_476.wav", "classify", True],
43
+ ],
44
+ cache_examples=True,
45
  )
46
 
47
  # iface.test_examples(example_samples)