Spaces:
Runtime error
Runtime error
lixiang46
commited on
Commit
•
8efa29e
1
Parent(s):
6b0fd3e
update
Browse files
app.py
CHANGED
@@ -55,7 +55,6 @@ 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 |
-
print(response.text)
|
59 |
if response.status_code == 200:
|
60 |
result = response.json()['result']
|
61 |
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 |
if response.status_code == 200:
|
59 |
result = response.json()['result']
|
60 |
status = result['status']
|