mrfakename commited on
Commit
6fa080e
1 Parent(s): 7d26e2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(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)