tejani commited on
Commit
7e3bf1f
·
verified ·
1 Parent(s): 09014af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -47,16 +47,16 @@ async def try_on(
47
  garment_url = f"{base_url}/static/{garment_filename}"
48
 
49
  # Prepare headers and data for the original API
50
- headers = {
51
  "accept": "*/*",
52
  "f": str(uuid.uuid4()).replace("-", ""),
53
  }
54
 
55
- data = {
56
  "humanImg": human_url,
57
  "garment": garment_url,
58
- "garmentDesc": garment_desc,
59
- "category": category,
60
  }
61
 
62
  # Call the ChangeClothesAI API
 
47
  garment_url = f"{base_url}/static/{garment_filename}"
48
 
49
  # Prepare headers and data for the original API
50
+ headers = {
51
  "accept": "*/*",
52
  "f": str(uuid.uuid4()).replace("-", ""),
53
  }
54
 
55
+ data = {
56
  "humanImg": human_url,
57
  "garment": garment_url,
58
+ "garmentDesc": garment_desc,
59
+ "category": category,
60
  }
61
 
62
  # Call the ChangeClothesAI API