lauraibnz commited on
Commit
f1004c6
1 Parent(s): f1907f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -75,8 +75,8 @@ with gr.Blocks(title="🎹 MIDI-AudioLDM", theme=gr.themes.Base(text_size=gr.the
75
  with gr.Column():
76
  audio = gr.Audio(label="generated audio")
77
  with gr.Accordion("Advanced Settings", open=False):
78
- duration = gr.Slider(0, 60, step=2.5, label="duration", info="Modify the duration in seconds of the output audio file. If not set it will be determined by the MIDI file.")
79
- inf = gr.Slider(0, 100, value=50, step=1, label="inference steps", info="Edit the number of denoising steps. A larger number usually leads to higher quality but slower results.")
80
  guidance_scale = gr.Slider(0, 4, value=2.5, step=0.5, label="guidance scale", info="Modify the guidance scale. The higher the value the more linked the generated audio to the text prompt, sometimes at the expense of lower quality.")
81
  neg_prompt = gr.Textbox(label="negative prompt", info="Optionally enter a negative text prompt not to guide the audio generation.")
82
  seed = gr.Number(value=48, label="random seed", info="Change the random seed for a different generation result.")
 
75
  with gr.Column():
76
  audio = gr.Audio(label="generated audio")
77
  with gr.Accordion("Advanced Settings", open=False):
78
+ duration = gr.Slider(0, 20, step=2.5, label="duration", info="Modify the duration in seconds of the output audio file. If not set it will be determined by the MIDI file.")
79
+ inf = gr.Slider(0, 100, value=40, step=1, label="inference steps", info="Edit the number of denoising steps. A larger number usually leads to higher quality but slower results.")
80
  guidance_scale = gr.Slider(0, 4, value=2.5, step=0.5, label="guidance scale", info="Modify the guidance scale. The higher the value the more linked the generated audio to the text prompt, sometimes at the expense of lower quality.")
81
  neg_prompt = gr.Textbox(label="negative prompt", info="Optionally enter a negative text prompt not to guide the audio generation.")
82
  seed = gr.Number(value=48, label="random seed", info="Change the random seed for a different generation result.")