DamarJati commited on
Commit
7c45b36
·
verified ·
1 Parent(s): f324a39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
15
  pipe.enable_model_cpu_offload()
16
  # pipe.scheduler = DEISMultistepScheduler.from_config(pipe.scheduler.config)
17
 
18
- pipe.load_lora_weights("Shakker-Labs/AWPortraitCN2", weight_name="AWPortraitCN_2.safetensors", low_cpu_mem_usage=True)
19
  pipe.fuse_lora()
20
 
21
  MAX_SEED = 2**32-1
 
15
  pipe.enable_model_cpu_offload()
16
  # pipe.scheduler = DEISMultistepScheduler.from_config(pipe.scheduler.config)
17
 
18
+ pipe.load_lora_weights("Shakker-Labs/AWPortraitCN2", weight_name="AWPortraitCN_2.safetensors")
19
  pipe.fuse_lora()
20
 
21
  MAX_SEED = 2**32-1