Spaces:
Runtime error
Runtime error
lixiang46
commited on
Commit
•
a785755
1
Parent(s):
3726faf
change timeout
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def start_tryon(person_img, garment_img, seed, randomize_seed):
|
|
35 |
|
36 |
result_img = None
|
37 |
try:
|
38 |
-
response = requests.post(url, headers=headers, data=json.dumps(data), timeout=
|
39 |
print("response code", response.status_code)
|
40 |
if response.status_code == 200:
|
41 |
result = response.json()['result']
|
|
|
35 |
|
36 |
result_img = None
|
37 |
try:
|
38 |
+
response = requests.post(url, headers=headers, data=json.dumps(data), timeout=120)
|
39 |
print("response code", response.status_code)
|
40 |
if response.status_code == 200:
|
41 |
result = response.json()['result']
|