Spaces:
Runtime error
Runtime error
lixiang46
commited on
Commit
•
8226feb
1
Parent(s):
0c1a8d3
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=60)
|
39 |
print("response code", response.status_code)
|
40 |
if response.status_code == 200:
|
41 |
result = response.json()['result']
|