lauraibnz commited on
Commit
45bbfd8
1 Parent(s): 36a46c2

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
  audio = gr.Audio(label="audio")
55
  with gr.Accordion("Advanced Settings", open=False):
56
  neg_prompt = gr.Textbox(label="negative prompt", info="Optionally enter a negative text prompt.")
57
- duration = gr.Slider(0, 30, value=5, step=5, label="duration (seconds)")
58
  seed = gr.Number(value=42, label="seed", info="Change the random seed for a different generation result.")
59
  cond = gr.Slider(0.0, 1.0, value=1.0, step=0.1, label="conditioning scale", info="Enter a value between 0 and 1. The larger the more it will take the conditioning into account.")
60
  inf = gr.Slider(0, 50, value=20, step=0.1, label="inference steps", info="Edit the number of denoising steps. More inference steps usually lead to better but slower results.")
 
54
  audio = gr.Audio(label="audio")
55
  with gr.Accordion("Advanced Settings", open=False):
56
  neg_prompt = gr.Textbox(label="negative prompt", info="Optionally enter a negative text prompt.")
57
+ duration = gr.Slider(0, 30, value=5, step=5, label="duration (seconds)", info="Duration of the output audio file.")
58
  seed = gr.Number(value=42, label="seed", info="Change the random seed for a different generation result.")
59
  cond = gr.Slider(0.0, 1.0, value=1.0, step=0.1, label="conditioning scale", info="Enter a value between 0 and 1. The larger the more it will take the conditioning into account.")
60
  inf = gr.Slider(0, 50, value=20, step=0.1, label="inference steps", info="Edit the number of denoising steps. More inference steps usually lead to better but slower results.")