xbarusui commited on
Commit
328b7e0
·
verified ·
1 Parent(s): 54d1700

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ pipe = StableDiffusionXLPipeline.from_pretrained(
31
  pipe.to('cuda')
32
 
33
  #pipe = DiffusionPipeline.from_pretrained(base_model_id, torch_dtype=torch.float16, variant="fp16").to("cuda")
34
- pipe.load_lora_weights(hf_hub_download(repo_name, ckpt_name))
35
  pipe.fuse_lora()
36
  # Ensure ddim scheduler timestep spacing set as trailing !!!
37
  pipe.scheduler = TCDScheduler.from_config(pipe.scheduler.config)
 
31
  pipe.to('cuda')
32
 
33
  #pipe = DiffusionPipeline.from_pretrained(base_model_id, torch_dtype=torch.float16, variant="fp16").to("cuda")
34
+ pipe.load_lora_weights(repo_name, ckpt_name)
35
  pipe.fuse_lora()
36
  # Ensure ddim scheduler timestep spacing set as trailing !!!
37
  pipe.scheduler = TCDScheduler.from_config(pipe.scheduler.config)