Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,8 @@ def virtual_tryon(human_img_path, garment_img_path, garment_type):
|
|
45 |
"tune[title]": f"Gradio VTO - {int(time.time())}",
|
46 |
"tune[name]": garment_type,
|
47 |
"tune[model_type]": "faceid",
|
48 |
-
"tune[base_tune_id]": "1504944", # This is the base model
|
|
|
49 |
"tune[prompts_attributes][][text]": f"",
|
50 |
"tune[prompts_attributes][][num_images]": 1,
|
51 |
"tune[prompts_attributes][][denoising_strength]": "0.0",
|
|
|
45 |
"tune[title]": f"Gradio VTO - {int(time.time())}",
|
46 |
"tune[name]": garment_type,
|
47 |
"tune[model_type]": "faceid",
|
48 |
+
"tune[base_tune_id]": "1504944", # This is the base model for Flux although no image generation is done in this case
|
49 |
+
# Nested prompts are used to create Tune + Prompt in one call
|
50 |
"tune[prompts_attributes][][text]": f"",
|
51 |
"tune[prompts_attributes][][num_images]": 1,
|
52 |
"tune[prompts_attributes][][denoising_strength]": "0.0",
|