LPDoctor commited on
Commit
17bbdd8
β€’
1 Parent(s): 01e3c8a

update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -14
app.py CHANGED
@@ -274,10 +274,16 @@ with image_blocks as demo:
274
  inputs=garm_img,
275
  examples_per_page=8,
276
  examples=garm_list_path)
277
- with gr.Row():
278
- is_checked = gr.Checkbox(label="Yes", info="Use auto-generated mask (Takes 5 seconds)",value=True,visible=False)
279
- with gr.Row():
280
- is_checked_crop = gr.Checkbox(label="Yes", info="Use auto-crop & resizing",value=True,visible=False)
 
 
 
 
 
 
281
 
282
  # example = gr.Examples(
283
  # inputs=imgs,
@@ -291,16 +297,7 @@ with image_blocks as demo:
291
  with gr.Column():
292
  # image_out = gr.Image(label="Output", elem_id="output-img", height=400)
293
  image_out = gr.Image(label="Output", elem_id="output-img",show_share_button=False)
294
-
295
-
296
-
297
-
298
- with gr.Column():
299
- try_button = gr.Button(value="Try-on")
300
- with gr.Accordion(label="Advanced Settings", open=False):
301
- with gr.Row():
302
- denoise_steps = gr.Number(label="Denoising Steps", minimum=20, maximum=40, value=30, step=1)
303
- seed = gr.Number(label="Seed", minimum=-1, maximum=2147483647, step=1, value=42)
304
 
305
 
306
 
 
274
  inputs=garm_img,
275
  examples_per_page=8,
276
  examples=garm_list_path)
277
+
278
+ try_button = gr.Button(value="Try-on", variant="primary")
279
+ with gr.Accordion(label="Advanced Settings", open=False):
280
+ with gr.Row():
281
+ denoise_steps = gr.Number(label="Denoising Steps", minimum=20, maximum=40, value=30, step=1)
282
+ seed = gr.Number(label="Seed", minimum=-1, maximum=2147483647, step=1, value=42)
283
+ with gr.Row():
284
+ is_checked = gr.Checkbox(label="Yes", info="Use auto-generated mask (Takes 5 seconds)",value=True,visible=False)
285
+ with gr.Row():
286
+ is_checked_crop = gr.Checkbox(label="Yes", info="Use auto-crop & resizing",value=True,visible=False)
287
 
288
  # example = gr.Examples(
289
  # inputs=imgs,
 
297
  with gr.Column():
298
  # image_out = gr.Image(label="Output", elem_id="output-img", height=400)
299
  image_out = gr.Image(label="Output", elem_id="output-img",show_share_button=False)
300
+
 
 
 
 
 
 
 
 
 
301
 
302
 
303