lauraibnz commited on
Commit
3daa0f7
·
1 Parent(s): 58ffe29

Update app.py

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