Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -297,10 +297,10 @@ pipe = StableDiffusionXLInstantIDPipeline.from_pretrained(
|
|
| 297 |
feature_extractor=None,
|
| 298 |
).to(device)
|
| 299 |
|
| 300 |
-
|
| 301 |
-
|
| 302 |
-
pipe.
|
| 303 |
-
|
| 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)
|