multimodalart HF staff commited on
Commit
b2df0cb
·
verified ·
1 Parent(s): a46e517

Update app_ctrlx.py

Browse files
Files changed (1) hide show
  1. app_ctrlx.py +2 -1
app_ctrlx.py CHANGED
@@ -260,7 +260,7 @@ with gr.Blocks(theme=gr.themes.Default(), css=css, title="Ctrl-X (SDXL v1.0)") a
260
  structure_guidance_scale = gr.Slider(label="Structure guidance scale", value=5.0, minimum=1, maximum=10)
261
  appearance_guidance_scale = gr.Slider(label="Appearance guidance scale", value=5.0, minimum=1, maximum=10)
262
  with gr.Row():
263
- num_inference_steps = gr.Slider(label="# inference steps", value=50, minimum=1, maximum=200, step=1)
264
  eta = gr.Slider(label="Eta (noise)", value=1.0, minimum=0, maximum=1.0, step=0.01)
265
  seed = gr.Slider(0, 2147483647, label="Seed", value=90095, step=1)
266
  with gr.Row():
@@ -412,6 +412,7 @@ with gr.Blocks(theme=gr.themes.Default(), css=css, title="Ctrl-X (SDXL v1.0)") a
412
  appearance_schedule,
413
  ],
414
  examples_per_page=50,
 
415
  )
416
 
417
  app.launch(debug=False, share=False)
 
260
  structure_guidance_scale = gr.Slider(label="Structure guidance scale", value=5.0, minimum=1, maximum=10)
261
  appearance_guidance_scale = gr.Slider(label="Appearance guidance scale", value=5.0, minimum=1, maximum=10)
262
  with gr.Row():
263
+ num_inference_steps = gr.Slider(label="# inference steps", value=28, minimum=1, maximum=200, step=1)
264
  eta = gr.Slider(label="Eta (noise)", value=1.0, minimum=0, maximum=1.0, step=0.01)
265
  seed = gr.Slider(0, 2147483647, label="Seed", value=90095, step=1)
266
  with gr.Row():
 
412
  appearance_schedule,
413
  ],
414
  examples_per_page=50,
415
+ cache_examples="lazy"
416
  )
417
 
418
  app.launch(debug=False, share=False)