Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -15,11 +15,8 @@ pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
|
15 |
|
16 |
# pipe.scheduler = DEISMultistepScheduler.from_config(pipe.scheduler.config)
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
pipe.load_lora_weights(lora_repo, low_cpu_mem_usage=True)
|
21 |
-
|
22 |
-
pipe.to("cuda")
|
23 |
|
24 |
MAX_SEED = 2**32-1
|
25 |
|
|
|
15 |
|
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
|
22 |
|