lixiang46 commited on
Commit
f6e997e
1 Parent(s): 5e35140
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def start_tryon(person_img, garment_img, seed, randomize_seed):
35
  if response.status_code == 200:
36
  result = response.json()['result']
37
  print("result", result)
38
- status = response['status']
39
  if status == "success":
40
  result = base64.b64decode(result['result'])
41
  result_np = np.frombuffer(result, np.uint8)
 
35
  if response.status_code == 200:
36
  result = response.json()['result']
37
  print("result", result)
38
+ status = result['status']
39
  if status == "success":
40
  result = base64.b64decode(result['result'])
41
  result_np = np.frombuffer(result, np.uint8)