Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
|