lauraibnz commited on
Commit
4f3a930
1 Parent(s): f29778b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Column(variant='panel'):
66
  midi = gr.File(label="midi file", file_types=[".mid"])
67
- prompt = gr.Textbox(label="prompt", info="Enter a descriptive text prompt to guide the audio generation.")
68
  midi_synth = gr.Audio(label="synthesized midi")
69
  midi.upload(synthesize, midi, midi_synth)
 
70
  with gr.Accordion("Advanced Settings", open=False):
71
  duration = gr.Slider(0, 30, value=10, step=2.5, label="duration", info="Modify the duration in seconds of the output audio file.")
72
  inf = gr.Slider(0, 50, value=20, step=1, label="inference steps", info="Edit the number of denoising steps. A larger number usually leads to higher quality but slower results.")
 
64
  """)
65
  with gr.Column(variant='panel'):
66
  midi = gr.File(label="midi file", file_types=[".mid"])
 
67
  midi_synth = gr.Audio(label="synthesized midi")
68
  midi.upload(synthesize, midi, midi_synth)
69
+ prompt = gr.Textbox(label="prompt", info="Enter a descriptive text prompt to guide the audio generation.")
70
  with gr.Accordion("Advanced Settings", open=False):
71
  duration = gr.Slider(0, 30, value=10, step=2.5, label="duration", info="Modify the duration in seconds of the output audio file.")
72
  inf = gr.Slider(0, 50, value=20, step=1, label="inference steps", info="Edit the number of denoising steps. A larger number usually leads to higher quality but slower results.")