soonyau commited on
Commit
48c9f06
1 Parent(s): 36c7aa6

Revert step number and guidance scale

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -390,8 +390,8 @@ def create_app():
390
  c_idx -= 1
391
  with gr.Row():
392
  detect_resolution = gr.Slider(label="OpenPose Resolution", minimum=128, maximum=768, value=512, step=1)
393
- ddim_steps = gr.Slider(label="Steps", minimum=1, maximum=50, value=30, step=1)
394
- scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=30.0, value=15.0, step=0.1)
395
 
396
  eta = gr.Number(label="eta (DDIM)", value=0.0, visible=False)
397
  a_prompt = gr.Textbox(label="Added Prompt", value='best quality, extremely detailed')
 
390
  c_idx -= 1
391
  with gr.Row():
392
  detect_resolution = gr.Slider(label="OpenPose Resolution", minimum=128, maximum=768, value=512, step=1)
393
+ ddim_steps = gr.Slider(label="Steps", minimum=1, maximum=50, value=20, step=1)
394
+ scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=30.0, value=12.0, step=0.1)
395
 
396
  eta = gr.Number(label="eta (DDIM)", value=0.0, visible=False)
397
  a_prompt = gr.Textbox(label="Added Prompt", value='best quality, extremely detailed')