Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -46,8 +46,9 @@ def virtual_tryon(human_img_path, garment_img_path, garment_type):
|
|
46 |
"tune[name]": garment_type,
|
47 |
"tune[model_type]": "faceid",
|
48 |
"tune[base_tune_id]": "1504944",
|
49 |
-
"tune[prompts_attributes][][text]": f"
|
50 |
-
"tune[prompts_attributes][][
|
|
|
51 |
}
|
52 |
|
53 |
# Make the initial POST request to start the job
|
|
|
46 |
"tune[name]": garment_type,
|
47 |
"tune[model_type]": "faceid",
|
48 |
"tune[base_tune_id]": "1504944",
|
49 |
+
"tune[prompts_attributes][][text]": f"",
|
50 |
+
"tune[prompts_attributes][][num_images]": 1,
|
51 |
+
"tune[prompts_attributes][][denoising_strength]": "0.0",
|
52 |
}
|
53 |
|
54 |
# Make the initial POST request to start the job
|