alon-astria commited on
Commit
3a9b7c2
·
verified ·
1 Parent(s): fd3d56a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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 ID for Virtual Try-On
 
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",