Spaces:
Running
on
Zero
Running
on
Zero
mrfakename
commited on
Commit
•
562962c
1
Parent(s):
ac3db70
Update app.py
Browse files
app.py
CHANGED
@@ -26,6 +26,6 @@ with gr.Blocks() as demo:
|
|
26 |
fileout = gr.File(interactive=False, label="MIDI File", type="binary")
|
27 |
synth.click(gen, inputs=[piano_only, length], outputs=[txtout, fileout])
|
28 |
with gr.Accordion("Samples", open=False):
|
29 |
-
for i, audpath in enumerate(glob("*.
|
30 |
gr.Audio(interactive=False, value=audpath, label=f'Sample {i + 1}')
|
31 |
demo.queue(api_open=False).launch(show_api=False)
|
|
|
26 |
fileout = gr.File(interactive=False, label="MIDI File", type="binary")
|
27 |
synth.click(gen, inputs=[piano_only, length], outputs=[txtout, fileout])
|
28 |
with gr.Accordion("Samples", open=False):
|
29 |
+
for i, audpath in enumerate(glob("*.wav")):
|
30 |
gr.Audio(interactive=False, value=audpath, label=f'Sample {i + 1}')
|
31 |
demo.queue(api_open=False).launch(show_api=False)
|