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