lixiang46 commited on
Commit
1279496
1 Parent(s): eb6761c

change timeout

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def start_tryon(person_img, garment_img, seed, randomize_seed):
32
  }
33
 
34
  print("post")
35
- response = requests.post(url, headers=headers, data=json.dumps(data), timeout=120)
36
  print("response code", response.status_code)
37
  result_img = None
38
  if response.status_code == 200:
 
32
  }
33
 
34
  print("post")
35
+ response = requests.post(url, headers=headers, data=json.dumps(data), timeout=60)
36
  print("response code", response.status_code)
37
  result_img = None
38
  if response.status_code == 200: