mrfakename commited on
Commit
affbe1e
1 Parent(s): 438bf93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -30,8 +30,4 @@ with gr.Blocks() as demo:
30
  fileout = gr.File(interactive=False, label="MIDI File", type="binary")
31
  audioout = gr.Audio(interactive=False, label="Audio")
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=(sr,y,), label=f'Sample {i + 1}')
37
  demo.queue(api_open=False).launch(show_api=False)
 
30
  fileout = gr.File(interactive=False, label="MIDI File", type="binary")
31
  audioout = gr.Audio(interactive=False, label="Audio")
32
  synth.click(gen, inputs=[piano_only, length], outputs=[txtout, fileout, audioout])
 
 
 
 
33
  demo.queue(api_open=False).launch(show_api=False)