linoyts HF staff commited on
Commit
b24ee49
1 Parent(s): 19efc84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -235,7 +235,7 @@ with gr.Blocks(css='style.css') as demo:
235
  submit = gr.Button("Edit")
236
 
237
  with gr.Row():
238
- t_start = gr.Slider(minimum=30, maximum=160, value=110, step=1, label="T-start", interactive=True, scale=3,
239
  info="Higher T-start -> stronger edit. Lower T-start -> closer to original audio")
240
  model_id = gr.Dropdown(label="AudioLDM2 Version", choices=["cvssp/audioldm2",
241
  "cvssp/audioldm2-large",
@@ -252,7 +252,7 @@ with gr.Blocks(css='style.css') as demo:
252
  label="Source Guidance Scale", interactive=True, scale=1)
253
  cfg_scale_tar = gr.Number(value=12, minimum=0.5, maximum=25, precision=None,
254
  label="Target Guidance Scale", interactive=True, scale=1)
255
- steps = gr.Number(value=200, step=1, minimum=20, maximum=1000,
256
  label="Num Diffusion Steps", interactive=True, scale=1)
257
  with gr.Row():
258
  seed = gr.Number(value=0, precision=0, label="Seed", interactive=True)
 
235
  submit = gr.Button("Edit")
236
 
237
  with gr.Row():
238
+ t_start = gr.Slider(minimum=10, maximum=240, value=30, step=1, label="T-start", interactive=True, scale=3,
239
  info="Higher T-start -> stronger edit. Lower T-start -> closer to original audio")
240
  model_id = gr.Dropdown(label="AudioLDM2 Version", choices=["cvssp/audioldm2",
241
  "cvssp/audioldm2-large",
 
252
  label="Source Guidance Scale", interactive=True, scale=1)
253
  cfg_scale_tar = gr.Number(value=12, minimum=0.5, maximum=25, precision=None,
254
  label="Target Guidance Scale", interactive=True, scale=1)
255
+ steps = gr.Number(value=50, step=1, minimum=20, maximum=300,
256
  label="Num Diffusion Steps", interactive=True, scale=1)
257
  with gr.Row():
258
  seed = gr.Number(value=0, precision=0, label="Seed", interactive=True)