apolinario commited on
Commit
8c73a94
·
1 Parent(s): 18982d7

Resolution as 512/1024 radio (no intermediates); clarify in info that PiD picks 2k vs 2kto4k accordingly

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -377,7 +377,7 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS) as demo:
377
 
378
  with gr.Accordion("Advanced settings", open=False):
379
  with gr.Row():
380
- resolution = gr.Slider(label="Z-Image resolution", minimum=256, maximum=1024, step=128, value=512)
381
  num_inference_steps = gr.Slider(label="Z-Image steps", minimum=8, maximum=50, step=1, value=28)
382
  with gr.Row():
383
  guidance_scale = gr.Slider(label="Guidance", minimum=1.0, maximum=10.0, step=0.5, value=5.0)
 
377
 
378
  with gr.Accordion("Advanced settings", open=False):
379
  with gr.Row():
380
+ resolution = gr.Radio(label="Z-Image resolution", choices=[512, 1024], value=512, info="512 → 2048² (PiD 2k); 1024 → 4096² (PiD 2kto4k)")
381
  num_inference_steps = gr.Slider(label="Z-Image steps", minimum=8, maximum=50, step=1, value=28)
382
  with gr.Row():
383
  guidance_scale = gr.Slider(label="Guidance", minimum=1.0, maximum=10.0, step=0.5, value=5.0)