Shalmoni commited on
Commit
e4082dc
Β·
verified Β·
1 Parent(s): ddb83e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -6
app.py CHANGED
@@ -121,12 +121,14 @@ CSS = """
121
  with gr.Blocks(css=CSS, title="Stitch β€” 3 uploads, 2 stitches") as demo:
122
  gr.Markdown("## Stitch β€” Upload 3 images β†’ Generate 1β†’2, 2β†’3, then combine.")
123
 
124
- with gr.Row():
125
- # Top: images
126
- with gr.Column():
127
- img1 = gr.Image(label="Image 1 upload", type="pil")
128
- img2 = gr.Image(label="Image 2 upload", type="pil")
129
- img3 = gr.Image(label="Image 3 upload", type="pil")
 
 
130
 
131
  with gr.Row():
132
  # Prompts + buttons
 
121
  with gr.Blocks(css=CSS, title="Stitch β€” 3 uploads, 2 stitches") as demo:
122
  gr.Markdown("## Stitch β€” Upload 3 images β†’ Generate 1β†’2, 2β†’3, then combine.")
123
 
124
+ # --- Uploads row (side-by-side) ---
125
+ with gr.Row():
126
+ with gr.Column(scale=1, min_width=280):
127
+ img1 = gr.Image(label="Image 1 upload", type="pil")
128
+ with gr.Column(scale=1, min_width=280):
129
+ img2 = gr.Image(label="Image 2 upload", type="pil")
130
+ with gr.Column(scale=1, min_width=280):
131
+ img3 = gr.Image(label="Image 3 upload", type="pil")
132
 
133
  with gr.Row():
134
  # Prompts + buttons