gaur3009 commited on
Commit
1420ac5
·
verified ·
1 Parent(s): fccf2de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -141,12 +141,12 @@ with gr.Blocks() as interface:
141
  gr.Markdown("# **AI Cloth Designer**")
142
  gr.Markdown("Generate custom T-shirts by specifying a color and adding a design that perfectly fits the T-shirt.")
143
  with gr.Row():
144
- with gr.Column():
145
  color_prompt = gr.Textbox(label="Cloth Color", placeholder="E.g., Red, Blue")
146
  design_prompt = gr.Textbox(label="Design Details", placeholder="E.g., Abstract art, Nature patterns")
147
  generate_button = gr.Button("Generate T-Shirt")
148
- with gr.Column():
149
- output_image = gr.Image(label="Final T-Shirt Design")
150
 
151
  generate_button.click(
152
  design_tshirt,
 
141
  gr.Markdown("# **AI Cloth Designer**")
142
  gr.Markdown("Generate custom T-shirts by specifying a color and adding a design that perfectly fits the T-shirt.")
143
  with gr.Row():
144
+ with gr.Column(scale=1):
145
  color_prompt = gr.Textbox(label="Cloth Color", placeholder="E.g., Red, Blue")
146
  design_prompt = gr.Textbox(label="Design Details", placeholder="E.g., Abstract art, Nature patterns")
147
  generate_button = gr.Button("Generate T-Shirt")
148
+ with gr.Column(scale=4):
149
+ output_image = gr.Image(label="Final T-Shirt Design", type="pil", height=500)
150
 
151
  generate_button.click(
152
  design_tshirt,