lauraibnz commited on
Commit
3fd0107
·
1 Parent(s): 9b26173

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -64,9 +64,9 @@ with gr.Blocks(title="🎹 MIDI-AudioLDM", theme=gr.themes.Base(text_size=gr.the
64
  """)
65
  with gr.Row():
66
  with gr.Column(variant='panel'):
 
 
67
  midi_synth = gr.Audio(label="synthesized midi")
68
- upload_button = gr.UploadButton("Upload a MIDI file", file_types=[".mid"], value="S00.mid")
69
- midi = gr.File(visible=False)
70
  upload_button.upload(upload, upload_button, midi)
71
  upload_button.upload(synthesize, upload_button, midi_synth)
72
  prompt = gr.Textbox(label="prompt", info="Enter a descriptive text prompt to guide the audio generation.")
 
64
  """)
65
  with gr.Row():
66
  with gr.Column(variant='panel'):
67
+ upload_button = gr.UploadButton("Upload a MIDI file", file_types=[".mid"])
68
+ midi = gr.File(visible=False, value="S00.mid")
69
  midi_synth = gr.Audio(label="synthesized midi")
 
 
70
  upload_button.upload(upload, upload_button, midi)
71
  upload_button.upload(synthesize, upload_button, midi_synth)
72
  prompt = gr.Textbox(label="prompt", info="Enter a descriptive text prompt to guide the audio generation.")