aiqcamp commited on
Commit
91d5748
1 Parent(s): 46c3f57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -19
app.py CHANGED
@@ -310,8 +310,6 @@ with image_blocks as demo:
310
 
311
  try_button.click(fn=start_tryon, inputs=[imgs, garm_img, prompt, is_checked,is_checked_crop, denoise_steps, seed], outputs=[image_out], api_name='tryon')
312
 
313
-
314
-
315
 
316
  image_blocks.launch()
317
  import gradio as gr
@@ -573,8 +571,6 @@ for ex_human in human_list_path:
573
  ex_dict['composite'] = None
574
  human_ex_list.append(ex_dict)
575
 
576
- ##default human
577
-
578
 
579
  image_blocks = gr.Blocks(theme="Nymbo/Nymbo_Theme").queue(max_size=12)
580
 
@@ -605,14 +601,8 @@ with image_blocks as demo:
605
  inputs=garm_img,
606
  examples_per_page=8,
607
  examples=garm_list_path)
608
- # with gr.Column():
609
- # image_out = gr.Image(label="Output", elem_id="output-img", height=400)
610
- # masked_img = gr.Image(label="Masked image output", elem_id="masked-img",show_share_button=False)
611
-
612
- # masked_img = ()
613
 
614
  with gr.Column():
615
- # image_out = gr.Image(label="Output", elem_id="output-img", height=400)
616
  image_out = gr.Image(label="Output", elem_id="output-img",show_share_button=False)
617
 
618
  with gr.Column():
@@ -622,15 +612,6 @@ with image_blocks as demo:
622
  denoise_steps = gr.Number(label="Denoising Steps", minimum=20, maximum=40, value=30, step=1)
623
  seed = gr.Number(label="Seed", minimum=-1, maximum=2147483647, step=1, value=42)
624
 
625
-
626
-
627
  try_button.click(fn=start_tryon, inputs=[imgs, garm_img, prompt, is_checked,is_checked_crop, denoise_steps, seed], outputs=[image_out], api_name='tryon')
628
 
629
-
630
-
631
-
632
-
633
-
634
-
635
-
636
  image_blocks.launch(auth=("gini","pick"))
 
310
 
311
  try_button.click(fn=start_tryon, inputs=[imgs, garm_img, prompt, is_checked,is_checked_crop, denoise_steps, seed], outputs=[image_out], api_name='tryon')
312
 
 
 
313
 
314
  image_blocks.launch()
315
  import gradio as gr
 
571
  ex_dict['composite'] = None
572
  human_ex_list.append(ex_dict)
573
 
 
 
574
 
575
  image_blocks = gr.Blocks(theme="Nymbo/Nymbo_Theme").queue(max_size=12)
576
 
 
601
  inputs=garm_img,
602
  examples_per_page=8,
603
  examples=garm_list_path)
 
 
 
 
 
604
 
605
  with gr.Column():
 
606
  image_out = gr.Image(label="Output", elem_id="output-img",show_share_button=False)
607
 
608
  with gr.Column():
 
612
  denoise_steps = gr.Number(label="Denoising Steps", minimum=20, maximum=40, value=30, step=1)
613
  seed = gr.Number(label="Seed", minimum=-1, maximum=2147483647, step=1, value=42)
614
 
 
 
615
  try_button.click(fn=start_tryon, inputs=[imgs, garm_img, prompt, is_checked,is_checked_crop, denoise_steps, seed], outputs=[image_out], api_name='tryon')
616
 
 
 
 
 
 
 
 
617
  image_blocks.launch(auth=("gini","pick"))