Spaces:
Running
on
Zero
Running
on
Zero
mrfakename
commited on
Commit
•
438bf93
1
Parent(s):
461a845
Update app.py
Browse files
app.py
CHANGED
@@ -33,5 +33,5 @@ with gr.Blocks() as demo:
|
|
33 |
with gr.Accordion("Samples", open=False):
|
34 |
for i, audpath in enumerate(glob("*.wav")):
|
35 |
y, sr = librosa.load(audpath)
|
36 |
-
gr.Audio(interactive=False, value=(y,
|
37 |
demo.queue(api_open=False).launch(show_api=False)
|
|
|
33 |
with gr.Accordion("Samples", open=False):
|
34 |
for i, audpath in enumerate(glob("*.wav")):
|
35 |
y, sr = librosa.load(audpath)
|
36 |
+
gr.Audio(interactive=False, value=(sr,y,), label=f'Sample {i + 1}')
|
37 |
demo.queue(api_open=False).launch(show_api=False)
|