Spaces:
Running
on
Zero
Running
on
Zero
mrfakename
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -32,6 +32,6 @@ with gr.Blocks() as demo:
|
|
32 |
synth.click(gen, inputs=[piano_only, length], outputs=[txtout, fileout, audioout])
|
33 |
with gr.Accordion("Samples", open=False):
|
34 |
for i, audpath in enumerate(glob("*.wav")):
|
35 |
-
y, sr = librosa.load(
|
36 |
gr.Audio(interactive=False, value=(y,sr,), label=f'Sample {i + 1}')
|
37 |
demo.queue(api_open=False).launch(show_api=False)
|
|
|
32 |
synth.click(gen, inputs=[piano_only, length], outputs=[txtout, fileout, audioout])
|
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,sr,), label=f'Sample {i + 1}')
|
37 |
demo.queue(api_open=False).launch(show_api=False)
|