lixiang46 commited on
Commit
d77e663
1 Parent(s): 2d3d9e9
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -141,14 +141,10 @@ with gr.Blocks(css=css) as Tryon:
141
  ],
142
  inputs=[image1, image2, image3],
143
  label=None,
 
 
144
  )
145
-
146
- # gr.on(
147
- # triggers = [show_case.change],
148
- # fn=start_tryon,
149
- # inputs=[image1, image2, seed, randomize_seed],
150
- # outputs=[image_out, seed_used, result_info]
151
- # )
152
 
153
  ip = requests.get('http://ifconfig.me/ip', timeout=1).text.strip()
154
  print("ip address", ip)
 
141
  ],
142
  inputs=[image1, image2, image3],
143
  label=None,
144
+ fn = start_tryon(image1, image2, seed, randomize_seed),
145
+ outputs = [image_out, seed_used, result_info]
146
  )
147
+
 
 
 
 
 
 
148
 
149
  ip = requests.get('http://ifconfig.me/ip', timeout=1).text.strip()
150
  print("ip address", ip)