Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
lixiang46
commited on
Commit
•
7d12775
1
Parent(s):
4dd113c
test
Browse files
app.py
CHANGED
@@ -38,6 +38,7 @@ def start_tryon(person_img, garment_img, seed, randomize_seed):
|
|
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']
|
42 |
print(result)
|
43 |
status = result['status']
|
|
|
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 |
+
print(response.text)
|
42 |
result = response.json()['result']
|
43 |
print(result)
|
44 |
status = result['status']
|