Spaces:
Sleeping
Sleeping
lixiang46
commited on
Commit
•
e08a1e8
1
Parent(s):
19b9e9b
update
Browse files
app.py
CHANGED
@@ -32,7 +32,6 @@ def start_tryon(person_img, garment_img, seed, randomize_seed):
|
|
32 |
print("response code", response.status_code)
|
33 |
if response.status_code == 200:
|
34 |
result = response.json()['result']
|
35 |
-
print("result", result)
|
36 |
status = result['status']
|
37 |
if status == "success":
|
38 |
result = base64.b64decode(result['result'])
|
@@ -62,7 +61,7 @@ css="""
|
|
62 |
}
|
63 |
#col-right {
|
64 |
margin: 0 auto;
|
65 |
-
max-width:
|
66 |
}
|
67 |
#button {
|
68 |
color: blue;
|
|
|
32 |
print("response code", response.status_code)
|
33 |
if response.status_code == 200:
|
34 |
result = response.json()['result']
|
|
|
35 |
status = result['status']
|
36 |
if status == "success":
|
37 |
result = base64.b64decode(result['result'])
|
|
|
61 |
}
|
62 |
#col-right {
|
63 |
margin: 0 auto;
|
64 |
+
max-width: 520px;
|
65 |
}
|
66 |
#button {
|
67 |
color: blue;
|