Spaces:
Paused
Paused
Commit
•
1d38df8
1
Parent(s):
7826dcb
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ pipe = StableDiffusionXLPipeline.from_pretrained(
|
|
67 |
)
|
68 |
pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
|
69 |
pipe.to(device)
|
70 |
-
pipe.load_lora_weights(lcm_lora_id, weight_name="
|
71 |
last_lora = ""
|
72 |
last_merged = False
|
73 |
last_fused = False
|
|
|
67 |
)
|
68 |
pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
|
69 |
pipe.to(device)
|
70 |
+
pipe.load_lora_weights(lcm_lora_id, weight_name="pytorch_lora_weights.safetensors", adapter_name="lcm_lora", use_auth_token=os.getenv('HF_TOKEN'))
|
71 |
last_lora = ""
|
72 |
last_merged = False
|
73 |
last_fused = False
|