Zuii commited on
Commit
7152ff6
·
verified ·
1 Parent(s): bf8ee15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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
- "image_url": "https://cdn3.pixelcut.app/product.jpg",
56
- "format": "png"
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