Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
lixiang46
commited on
Commit
•
1279496
1
Parent(s):
eb6761c
change timeout
Browse files
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=
|
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:
|