mrfakename commited on
Commit
d4beeea
·
verified ·
1 Parent(s): 8dacb10

Update app.py

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