Update app.py
Browse files
app.py
CHANGED
@@ -52,9 +52,10 @@ def tryon(person_img, garment_img, seed, randomize_seed):
|
|
52 |
|
53 |
# 📩 Setup request payload (matches the curl command structure)
|
54 |
data = {
|
55 |
-
|
56 |
-
|
57 |
-
|
|
|
58 |
|
59 |
result_img = None
|
60 |
max_retries = 5
|
|
|
52 |
|
53 |
# 📩 Setup request payload (matches the curl command structure)
|
54 |
data = {
|
55 |
+
"image": encoded_person_img,
|
56 |
+
"format": "png"
|
57 |
+
}
|
58 |
+
|
59 |
|
60 |
result_img = None
|
61 |
max_retries = 5
|