Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
lixiang46
commited on
Commit
•
232eb9c
1
Parent(s):
b9a2a94
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?
|
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)
|