Spaces:
Sleeping
Sleeping
Update without Masked Output
Browse files
app.py
CHANGED
@@ -285,9 +285,10 @@ with image_blocks as demo:
|
|
285 |
inputs=garm_img,
|
286 |
examples_per_page=8,
|
287 |
examples=garm_list_path)
|
288 |
-
with gr.Column():
|
289 |
# image_out = gr.Image(label="Output", elem_id="output-img", height=400)
|
290 |
-
masked_img = gr.Image(label="Masked image output", elem_id="masked-img",show_share_button=False)
|
|
|
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)
|
@@ -304,7 +305,7 @@ with image_blocks as demo:
|
|
304 |
|
305 |
|
306 |
|
307 |
-
try_button.click(fn=start_tryon, inputs=[imgs, garm_img, prompt, is_checked,is_checked_crop, denoise_steps, seed], outputs=[image_out
|
308 |
|
309 |
|
310 |
|
|
|
285 |
inputs=garm_img,
|
286 |
examples_per_page=8,
|
287 |
examples=garm_list_path)
|
288 |
+
# with gr.Column():
|
289 |
# image_out = gr.Image(label="Output", elem_id="output-img", height=400)
|
290 |
+
# masked_img = gr.Image(label="Masked image output", elem_id="masked-img",show_share_button=False)
|
291 |
+
|
292 |
with gr.Column():
|
293 |
# image_out = gr.Image(label="Output", elem_id="output-img", height=400)
|
294 |
image_out = gr.Image(label="Output", elem_id="output-img",show_share_button=False)
|
|
|
305 |
|
306 |
|
307 |
|
308 |
+
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')
|
309 |
|
310 |
|
311 |
|