mhussainahmad commited on
Commit
e76c41a
·
verified ·
1 Parent(s): 8d6a542

Update src/pipeline.py

Browse files
Files changed (1) hide show
  1. src/pipeline.py +2 -2
src/pipeline.py CHANGED
@@ -11,8 +11,8 @@ def load_pipeline() -> StableDiffusionXLPipeline:
11
  torch_dtype=torch.float16,
12
  local_files_only=True,
13
  ).to("cuda")
14
- pipeline_with_lora.scheduler = LCMScheduler.from_config(pipeline.scheduler.config)
15
- pipeline_with_lora.load_lora_weights("./models/sdxl-lcmlora-1024-100k-3000steps")
16
 
17
  pipeline(prompt="")
18
 
 
11
  torch_dtype=torch.float16,
12
  local_files_only=True,
13
  ).to("cuda")
14
+ pipeline.scheduler = LCMScheduler.from_config(pipeline.scheduler.config)
15
+ pipeline.load_lora_weights("./models/sdxl-lcmlora-1024-100k-3000steps")
16
 
17
  pipeline(prompt="")
18