Spaces:
Running
Running
lixiang46 commited on
Commit ·
948ddc1
1
Parent(s): b6434bc
test
Browse files
app.py
CHANGED
|
@@ -238,7 +238,7 @@ with gr.Blocks(css=css) as Tryon:
|
|
| 238 |
|
| 239 |
|
| 240 |
# try_button.click(fn=start_tryon, inputs=[imgs, garm_img, seed, randomize_seed], outputs=[image_out, seed_used, result_info], api_name='tryon',concurrency_limit=10)
|
| 241 |
-
test_button.click(fn=tryon, inputs=[imgs, garm_img, seed, randomize_seed], outputs=[image_out, seed_used, result_info], api_name='tryon'
|
| 242 |
|
| 243 |
with gr.Column(elem_id = "col-showcase"):
|
| 244 |
gr.HTML("""
|
|
@@ -262,4 +262,4 @@ with gr.Blocks(css=css) as Tryon:
|
|
| 262 |
|
| 263 |
# ip = requests.get('http://ifconfig.me/ip', timeout=1).text.strip()
|
| 264 |
# print("ip address", ip)
|
| 265 |
-
Tryon.
|
|
|
|
| 238 |
|
| 239 |
|
| 240 |
# try_button.click(fn=start_tryon, inputs=[imgs, garm_img, seed, randomize_seed], outputs=[image_out, seed_used, result_info], api_name='tryon',concurrency_limit=10)
|
| 241 |
+
test_button.click(fn=tryon, inputs=[imgs, garm_img, seed, randomize_seed], outputs=[image_out, seed_used, result_info], api_name='tryon')
|
| 242 |
|
| 243 |
with gr.Column(elem_id = "col-showcase"):
|
| 244 |
gr.HTML("""
|
|
|
|
| 262 |
|
| 263 |
# ip = requests.get('http://ifconfig.me/ip', timeout=1).text.strip()
|
| 264 |
# print("ip address", ip)
|
| 265 |
+
Tryon.launch()
|