chenlei
commited on
Commit
·
0213180
1
Parent(s):
ab81222
update
Browse files- run/gradio_ootd.py +2 -2
run/gradio_ootd.py
CHANGED
@@ -101,7 +101,7 @@ def process_dc(vton_img, garm_img, category, n_samples, n_steps, image_scale, se
|
|
101 |
seed=seed,
|
102 |
)
|
103 |
|
104 |
-
|
105 |
|
106 |
|
107 |
block = gr.Blocks().queue()
|
@@ -257,4 +257,4 @@ with block:
|
|
257 |
ips_dc = [vton_img_dc, garm_img_dc, category_dc, n_samples_dc, n_steps_dc, image_scale_dc, seed_dc]
|
258 |
run_button_dc.click(fn=process_dc, inputs=ips_dc, outputs=[result_gallery_dc])
|
259 |
|
260 |
-
block.launch(server_name='0.0.0.0', server_port=7865)
|
|
|
101 |
seed=seed,
|
102 |
)
|
103 |
|
104 |
+
return images
|
105 |
|
106 |
|
107 |
block = gr.Blocks().queue()
|
|
|
257 |
ips_dc = [vton_img_dc, garm_img_dc, category_dc, n_samples_dc, n_steps_dc, image_scale_dc, seed_dc]
|
258 |
run_button_dc.click(fn=process_dc, inputs=ips_dc, outputs=[result_gallery_dc])
|
259 |
|
260 |
+
block.launch(server_name='0.0.0.0', server_port=7865, share=True)
|