asigalov61 commited on
Commit
3021daf
·
verified ·
1 Parent(s): 16448c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -254,7 +254,7 @@ if __name__ == "__main__":
254
  run_btn = gr.Button("generate", variant="primary")
255
  interrupt_btn = gr.Button("interrupt")
256
 
257
- output_midi_seq = gr.HTML()
258
  output_midi_visualizer = gr.HTML(elem_id="midi_visualizer_container")
259
  output_audio = gr.Audio(label="output audio", format="mp3", elem_id="midi_audio")
260
  output_midi = gr.File(label="output midi", file_types=[".mid"])
 
254
  run_btn = gr.Button("generate", variant="primary")
255
  interrupt_btn = gr.Button("interrupt")
256
 
257
+ output_midi_seq = gr.State()
258
  output_midi_visualizer = gr.HTML(elem_id="midi_visualizer_container")
259
  output_audio = gr.Audio(label="output audio", format="mp3", elem_id="midi_audio")
260
  output_midi = gr.File(label="output midi", file_types=[".mid"])