Spaces:
Running
on
Zero
Running
on
Zero
Update model.py
Browse files
model.py
CHANGED
|
@@ -123,7 +123,8 @@ class ModelHandler:
|
|
| 123 |
# --- MODIFIED: optimize for sharp pixel art style ---
|
| 124 |
self.pipeline.scheduler = LCMScheduler.from_config(
|
| 125 |
scheduler_config,
|
| 126 |
-
timestep_spacing="
|
|
|
|
| 127 |
)
|
| 128 |
print(" [OK] LCMScheduler loaded (clip_sample=False, trailing spacing).")
|
| 129 |
|
|
|
|
| 123 |
# --- MODIFIED: optimize for sharp pixel art style ---
|
| 124 |
self.pipeline.scheduler = LCMScheduler.from_config(
|
| 125 |
scheduler_config,
|
| 126 |
+
timestep_spacing="trailing",
|
| 127 |
+
beta_schedule="scaled_linear"
|
| 128 |
)
|
| 129 |
print(" [OK] LCMScheduler loaded (clip_sample=False, trailing spacing).")
|
| 130 |
|