DamarJati commited on
Commit
75affb5
1 Parent(s): d60cf4c

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
 
16
  lora_repo = "Shakker-Labs/AWPortraitCN"
17
  trigger_word = "" # Leave trigger_word blank if not used.
18
- pipe.load_lora_weights(lora_repo)
19
 
20
  pipe.to("cuda")
21
 
 
15
 
16
  lora_repo = "Shakker-Labs/AWPortraitCN"
17
  trigger_word = "" # Leave trigger_word blank if not used.
18
+ pipe.load_lora_weights(lora_repo, low_cpu_mem_usage=True)
19
 
20
  pipe.to("cuda")
21