Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
lixiang46
commited on
Commit
•
45f23c3
1
Parent(s):
40343f0
test
Browse files
app.py
CHANGED
@@ -140,6 +140,10 @@ with gr.Blocks(css=css) as Tryon:
|
|
140 |
],
|
141 |
inputs=[image1, image2, image3],
|
142 |
label=None,
|
|
|
|
|
|
|
|
|
143 |
)
|
144 |
|
145 |
ip = requests.get('http://ifconfig.me/ip', timeout=1).text.strip()
|
|
|
140 |
],
|
141 |
inputs=[image1, image2, image3],
|
142 |
label=None,
|
143 |
+
).then(
|
144 |
+
fn=start_tryon,
|
145 |
+
inputs=[image1, image2, seed, randomize_seed],
|
146 |
+
outputs=[image_out, seed_used, result_info]
|
147 |
)
|
148 |
|
149 |
ip = requests.get('http://ifconfig.me/ip', timeout=1).text.strip()
|