Beepeen24 commited on
Commit
9a9e7ee
·
verified ·
1 Parent(s): 05c3a9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -297,10 +297,10 @@ pipe = StableDiffusionXLInstantIDPipeline.from_pretrained(
297
  feature_extractor=None,
298
  ).to(device)
299
 
300
- pipe.scheduler = diffusers.EulerDiscreteScheduler.from_config(pipe.scheduler.config)
301
-
302
- pipe.load_lora_weights("latent-consistency/lcm-lora-sdxl")
303
- pipe.disable_lora()
304
 
305
  pipe.cuda()
306
  pipe.load_ip_adapter_instantid(face_adapter)
 
297
  feature_extractor=None,
298
  ).to(device)
299
 
300
+ # Use a standard scheduler (no LCM / LoRA here)
301
+ pipe.scheduler = diffusers.EulerDiscreteScheduler.from_config(
302
+ pipe.scheduler.config
303
+ )
304
 
305
  pipe.cuda()
306
  pipe.load_ip_adapter_instantid(face_adapter)