lixiang46 commited on
Commit
3256b36
1 Parent(s): 0578e2c
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -36,11 +36,9 @@ def start_tryon(person_img, garment_img, seed, randomize_seed):
36
  result_img = None
37
  try:
38
  session = requests.Session()
39
- print(url, headers, sep='\n')
40
  response = session.post(url, headers=headers, data=json.dumps(data), timeout=60)
41
  print("response code", response.status_code)
42
  if response.status_code == 200:
43
- print(response.text)
44
  result = response.json()['result']
45
  print(result)
46
  status = result['status']
 
36
  result_img = None
37
  try:
38
  session = requests.Session()
 
39
  response = session.post(url, headers=headers, data=json.dumps(data), timeout=60)
40
  print("response code", response.status_code)
41
  if response.status_code == 200:
 
42
  result = response.json()['result']
43
  print(result)
44
  status = result['status']