Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
lixiang46
commited on
Commit
•
6b0fd3e
1
Parent(s):
d25f2a3
test
Browse files
app.py
CHANGED
@@ -55,6 +55,7 @@ def tryon(person_img, garment_img, seed, randomize_seed):
|
|
55 |
url = "http://" + os.environ['tryon_url'] + "Query?taskId=" + uuid
|
56 |
response = requests.get(url, headers=headers, timeout=15)
|
57 |
print("get response code", response.status_code)
|
|
|
58 |
if response.status_code == 200:
|
59 |
result = response.json()['result']
|
60 |
status = result['status']
|
|
|
55 |
url = "http://" + os.environ['tryon_url'] + "Query?taskId=" + uuid
|
56 |
response = requests.get(url, headers=headers, timeout=15)
|
57 |
print("get response code", response.status_code)
|
58 |
+
print(response.text)
|
59 |
if response.status_code == 200:
|
60 |
result = response.json()['result']
|
61 |
status = result['status']
|