mrfakename commited on
Commit
7095c54
·
verified ·
1 Parent(s): d3d4287

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,6 +19,6 @@ with gr.Blocks() as demo:
19
  length = gr.Slider(label="Length (in tokens)", minimum=4, maximum=4096, step=1, value=4096)
20
  synth = gr.Button("Synthesize")
21
  txtout = gr.Textbox(interactive=False, label="MIDI Length")
22
- fileout = gr.File(interactive=False, label="MIDI File")
23
  synth.click(gen, inputs=[piano_only, length], outputs=[txtout, fileout])
24
  demo.queue().launch()
 
19
  length = gr.Slider(label="Length (in tokens)", minimum=4, maximum=4096, step=1, value=4096)
20
  synth = gr.Button("Synthesize")
21
  txtout = gr.Textbox(interactive=False, label="MIDI Length")
22
+ fileout = gr.File(interactive=False, label="MIDI File", type="binary")
23
  synth.click(gen, inputs=[piano_only, length], outputs=[txtout, fileout])
24
  demo.queue().launch()