multimodalart HF staff commited on
Commit
1d38df8
1 Parent(s): 7826dcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="lcm_sdxl_lora.safetensors", adapter_name="lcm_lora", use_auth_token=os.getenv('HF_TOKEN'))
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