Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
lixiang46
commited on
Commit
•
b9a2a94
1
Parent(s):
aecd249
update
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def tryon(person_img, garment_img, seed, randomize_seed):
|
|
50 |
for i in range(Max_Retry):
|
51 |
time.sleep(3)
|
52 |
try:
|
53 |
-
url = "http://" + os.environ['tryon_url'] + "Query?" + uuid
|
54 |
response = requests.get(url, headers=headers, timeout=10)
|
55 |
print("get response code", response.status_code)
|
56 |
print(response.text)
|
|
|
50 |
for i in range(Max_Retry):
|
51 |
time.sleep(3)
|
52 |
try:
|
53 |
+
url = "http://" + os.environ['tryon_url'] + "Query?taskid=" + uuid
|
54 |
response = requests.get(url, headers=headers, timeout=10)
|
55 |
print("get response code", response.status_code)
|
56 |
print(response.text)
|