rimjhimittal commited on
Commit
031f441
·
verified ·
1 Parent(s): 60da051

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ pipeline = AutoPipelineForInpainting.from_pretrained(
17
  variant="fp16",
18
  use_safetensors=True
19
  ).to(device)
20
- pipeline.load_ip_adapter("h94/IP-Adapter", subfolder="sdxl_models", weight_name="ip-adapter_sdxl.bin", low_cpu_mem_usage=True)
21
 
22
  # Function to process images
23
  def virtual_try_on(img, clothing, prompt, negative_prompt, ip_scale=1.0, strength=0.99, guidance_scale=7.5, steps=100):
 
17
  variant="fp16",
18
  use_safetensors=True
19
  ).to(device)
20
+ pipeline.load_ip_adapter("h94/IP-Adapter", subfolder="sdxl_models", weight_name="ip-adapter_sdxl.bin")
21
 
22
  # Function to process images
23
  def virtual_try_on(img, clothing, prompt, negative_prompt, ip_scale=1.0, strength=0.99, guidance_scale=7.5, steps=100):