Spaces:
Paused
Paused
lixiang46
commited on
Commit
•
76ab23b
1
Parent(s):
f26d335
test
Browse files
app.py
CHANGED
@@ -32,6 +32,8 @@ def start_tryon(person_img, garment_img, seed, randomize_seed):
|
|
32 |
|
33 |
response = requests.post(url, headers=headers, data=json.dumps(data))
|
34 |
print("response code", response.status_code)
|
|
|
|
|
35 |
result_img = None
|
36 |
if response.status_code == 200:
|
37 |
result = response.json()['result']
|
|
|
32 |
|
33 |
response = requests.post(url, headers=headers, data=json.dumps(data))
|
34 |
print("response code", response.status_code)
|
35 |
+
print(response.text)
|
36 |
+
print(response.content)
|
37 |
result_img = None
|
38 |
if response.status_code == 200:
|
39 |
result = response.json()['result']
|