tchung1970 Claude Opus 4.5 commited on
Commit
3f05cc8
·
1 Parent(s): dd54cee

Add fill_height=False to match Z-Image vertical positioning

Browse files

- Add title and fill_height=False to gr.Blocks()
- Prevents UI from expanding to fill viewport
- Matches Z-Image screen positioning

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -566,7 +566,10 @@ function() {
566
  }
567
  """
568
 
569
- with gr.Blocks() as demo:
 
 
 
570
 
571
  # Inject CSS via HTML style tag
572
  gr.HTML(f"<style>{css}</style>")
 
566
  }
567
  """
568
 
569
+ with gr.Blocks(
570
+ title="FLUX.2-Image",
571
+ fill_height=False,
572
+ ) as demo:
573
 
574
  # Inject CSS via HTML style tag
575
  gr.HTML(f"<style>{css}</style>")