Spaces:
Running
on
Zero
Running
on
Zero
mrfakename
commited on
Commit
•
535be55
1
Parent(s):
e4a10b7
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("*.wav"))
|
30 |
gr.Audio(interactive=False, value=audpath, label=f'Sample {i + 1}')
|
31 |
demo.queue().launch()
|
|
|
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().launch()
|