cocktailpeanut commited on
Commit
4f89e7d
1 Parent(s): d7bca4c

optimization

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -284,7 +284,7 @@ with gr.Blocks(css="style.css") as demo:
284
  gudiance_scale = gr.Slider(label='Guidance Scale', minimum=1, maximum=30,
285
  value=7.5, step=0.5, interactive=True)
286
  steps = gr.Slider(label='Inversion steps', minimum=10, maximum=500,
287
- value=500, step=1, interactive=True)
288
 
289
  with gr.Column(min_width=100):
290
  inversion_prompt = gr.Textbox(lines=1, label="Inversion prompt", interactive=True, placeholder="")
@@ -293,7 +293,7 @@ with gr.Blocks(css="style.css") as demo:
293
  n_frames = gr.Slider(label='Num frames', minimum=2, maximum=200,
294
  value=24, step=1, interactive=True)
295
  n_timesteps = gr.Slider(label='Diffusion steps', minimum=25, maximum=100,
296
- value=50, step=25, interactive=True)
297
  n_fps = gr.Slider(label='Frames per second', minimum=1, maximum=60,
298
  value=10, step=1, interactive=True)
299
 
 
284
  gudiance_scale = gr.Slider(label='Guidance Scale', minimum=1, maximum=30,
285
  value=7.5, step=0.5, interactive=True)
286
  steps = gr.Slider(label='Inversion steps', minimum=10, maximum=500,
287
+ value=200, step=1, interactive=True)
288
 
289
  with gr.Column(min_width=100):
290
  inversion_prompt = gr.Textbox(lines=1, label="Inversion prompt", interactive=True, placeholder="")
 
293
  n_frames = gr.Slider(label='Num frames', minimum=2, maximum=200,
294
  value=24, step=1, interactive=True)
295
  n_timesteps = gr.Slider(label='Diffusion steps', minimum=25, maximum=100,
296
+ value=25, step=25, interactive=True)
297
  n_fps = gr.Slider(label='Frames per second', minimum=1, maximum=60,
298
  value=10, step=1, interactive=True)
299