lixiang46 commited on
Commit
d25f2a3
1 Parent(s): 9311f58
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -49,6 +49,7 @@ def tryon(person_img, garment_img, seed, randomize_seed):
49
  get_start_time =time.time()
50
  time.sleep(9)
51
  Max_Retry = 10
 
52
  for i in range(Max_Retry):
53
  try:
54
  url = "http://" + os.environ['tryon_url'] + "Query?taskId=" + uuid
 
49
  get_start_time =time.time()
50
  time.sleep(9)
51
  Max_Retry = 10
52
+ result_img = None
53
  for i in range(Max_Retry):
54
  try:
55
  url = "http://" + os.environ['tryon_url'] + "Query?taskId=" + uuid