lauraibnz commited on
Commit
43ec2a7
1 Parent(s): e5d6412

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ with gr.Blocks(title="🎹 MIDI-AudioLDM", theme=gr.themes.Base(text_size=gr.the
54
  with gr.Column(variant='panel'):
55
  audio = gr.Audio(label="audio")
56
  with gr.Accordion("Advanced Settings", open=False):
57
- duration = gr.Slider(0, 30, value=5, step=5, label="duration", info="Modify the duration in seconds of the output audio file.")
58
  inf = gr.Slider(0, 50, value=20, step=0.1, label="inference steps", info="Edit the number of denoising steps. A larger number usually leads to higher quality but slower results.")
59
  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.")
60
  neg_prompt = gr.Textbox(label="negative prompt", info="Optionally enter a negative text prompt not to guide the audio generation.")
 
54
  with gr.Column(variant='panel'):
55
  audio = gr.Audio(label="audio")
56
  with gr.Accordion("Advanced Settings", open=False):
57
+ duration = gr.Slider(0, 10, value=5, step=5, label="duration", info="Modify the duration in seconds of the output audio file.")
58
  inf = gr.Slider(0, 50, value=20, step=0.1, label="inference steps", info="Edit the number of denoising steps. A larger number usually leads to higher quality but slower results.")
59
  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.")
60
  neg_prompt = gr.Textbox(label="negative prompt", info="Optionally enter a negative text prompt not to guide the audio generation.")