apolinario commited on
Commit
9d0034c
·
1 Parent(s): 622f4d0

Bump preview + slider heights to 720/900px

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -346,8 +346,14 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS) as demo:
346
  seed = gr.Number(label="Seed", value=0, precision=0)
347
  run = gr.Button("Run", variant="primary")
348
  with gr.Column(scale=2):
349
- live_preview = gr.Image(label="Generating Z-Image…", visible=True, show_label=True, type="pil")
350
- slider = gr.ImageSlider(label="Z-Image (left) ↔ PiD 4× upscale (right)", visible=False, type="pil")
 
 
 
 
 
 
351
 
352
  run.click(
353
  fn=generate,
 
346
  seed = gr.Number(label="Seed", value=0, precision=0)
347
  run = gr.Button("Run", variant="primary")
348
  with gr.Column(scale=2):
349
+ live_preview = gr.Image(label="Generating Z-Image…", visible=True, show_label=True, type="pil", height=720)
350
+ slider = gr.ImageSlider(
351
+ label="Z-Image (left) ↔ PiD 4× upscale (right)",
352
+ visible=False,
353
+ type="pil",
354
+ height=720,
355
+ max_height=900,
356
+ )
357
 
358
  run.click(
359
  fn=generate,