fixing indentation
Browse files
app.py
CHANGED
|
@@ -496,7 +496,6 @@ with image_blocks as demo:
|
|
| 496 |
with gr.Column():
|
| 497 |
# image_out = gr.Image(label="Output", elem_id="output-img", height=400)
|
| 498 |
masked_img = gr.Image(label="Masked image output", elem_id="masked-img",show_share_button=False)
|
| 499 |
-
|
| 500 |
|
| 501 |
with gr.Column():
|
| 502 |
# image_out = gr.Image(label="Output", elem_id="output-img", height=400)
|
|
@@ -512,17 +511,9 @@ with image_blocks as demo:
|
|
| 512 |
denoise_steps = gr.Number(label="Denoising Steps", minimum=20, maximum=40, value=30, step=1)
|
| 513 |
seed = gr.Number(label="Seed", minimum=-1, maximum=2147483647, step=1, value=42)
|
| 514 |
|
| 515 |
-
|
| 516 |
-
|
| 517 |
-
|
| 518 |
-
|
| 519 |
|
| 520 |
|
| 521 |
try_button.click(fn=start_tryon, inputs=[imgs, garm_img, prompt, is_checked,is_checked_crop, denoise_steps, seed], outputs=[image_out,masked_img], api_name='tryon')
|
| 522 |
|
| 523 |
-
|
| 524 |
-
|
| 525 |
-
|
| 526 |
-
|
| 527 |
image_blocks.launch(auth=(HF_TEST_USER_NAME, HF_PASS), show_error=True)
|
| 528 |
# image_blocks.launch(show_error=True)
|
|
|
|
| 496 |
with gr.Column():
|
| 497 |
# image_out = gr.Image(label="Output", elem_id="output-img", height=400)
|
| 498 |
masked_img = gr.Image(label="Masked image output", elem_id="masked-img",show_share_button=False)
|
|
|
|
| 499 |
|
| 500 |
with gr.Column():
|
| 501 |
# image_out = gr.Image(label="Output", elem_id="output-img", height=400)
|
|
|
|
| 511 |
denoise_steps = gr.Number(label="Denoising Steps", minimum=20, maximum=40, value=30, step=1)
|
| 512 |
seed = gr.Number(label="Seed", minimum=-1, maximum=2147483647, step=1, value=42)
|
| 513 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 514 |
|
| 515 |
|
| 516 |
try_button.click(fn=start_tryon, inputs=[imgs, garm_img, prompt, is_checked,is_checked_crop, denoise_steps, seed], outputs=[image_out,masked_img], api_name='tryon')
|
| 517 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 518 |
image_blocks.launch(auth=(HF_TEST_USER_NAME, HF_PASS), show_error=True)
|
| 519 |
# image_blocks.launch(show_error=True)
|