lixiang46
commited on
Commit
·
0578e2c
1
Parent(s):
4ad0645
test
Browse files
app.py
CHANGED
@@ -36,6 +36,7 @@ def start_tryon(person_img, garment_img, seed, randomize_seed):
|
|
36 |
result_img = None
|
37 |
try:
|
38 |
session = requests.Session()
|
|
|
39 |
response = session.post(url, headers=headers, data=json.dumps(data), timeout=60)
|
40 |
print("response code", response.status_code)
|
41 |
if response.status_code == 200:
|
|
|
36 |
result_img = None
|
37 |
try:
|
38 |
session = requests.Session()
|
39 |
+
print(url, headers, sep='\n')
|
40 |
response = session.post(url, headers=headers, data=json.dumps(data), timeout=60)
|
41 |
print("response code", response.status_code)
|
42 |
if response.status_code == 200:
|