Update app.py
Browse files
app.py
CHANGED
@@ -48,13 +48,13 @@ async def try_on(
|
|
48 |
|
49 |
# Prepare headers and data for the original API
|
50 |
headers = {
|
51 |
-
|
52 |
-
|
53 |
}
|
54 |
|
55 |
data = {
|
56 |
-
|
57 |
-
|
58 |
"garmentDesc": garment_desc,
|
59 |
"category": category,
|
60 |
}
|
|
|
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 |
}
|