Spaces:
Runtime error
Runtime error
lixiang46
commited on
Commit
•
73416e5
1
Parent(s):
4284d10
update
Browse files
app.py
CHANGED
@@ -53,7 +53,6 @@ def tryon(person_img, garment_img, seed, randomize_seed):
|
|
53 |
url = "http://" + os.environ['tryon_url'] + "Query?taskId=" + uuid
|
54 |
response = requests.get(url, headers=headers, timeout=15)
|
55 |
print("get response code", response.status_code)
|
56 |
-
print(response.text)
|
57 |
if response.status_code == 200:
|
58 |
result = response.json()['result']
|
59 |
status = result['status']
|
|
|
53 |
url = "http://" + os.environ['tryon_url'] + "Query?taskId=" + uuid
|
54 |
response = requests.get(url, headers=headers, timeout=15)
|
55 |
print("get response code", response.status_code)
|
|
|
56 |
if response.status_code == 200:
|
57 |
result = response.json()['result']
|
58 |
status = result['status']
|