Update app.py
Browse files
app.py
CHANGED
|
@@ -76,6 +76,7 @@ def load_txt2img():
|
|
| 76 |
pipe_txt2img.scheduler = DPMSolverMultistepScheduler.from_config(
|
| 77 |
pipe_txt2img.scheduler.config,
|
| 78 |
use_karras_sigmas=True, # Noch bessere Qualität
|
|
|
|
| 79 |
algorithm_type="sde-dpmsolver++"
|
| 80 |
)
|
| 81 |
pipe_txt2img.enable_attention_slicing()
|
|
|
|
| 76 |
pipe_txt2img.scheduler = DPMSolverMultistepScheduler.from_config(
|
| 77 |
pipe_txt2img.scheduler.config,
|
| 78 |
use_karras_sigmas=True, # Noch bessere Qualität
|
| 79 |
+
use_safetensors=True,
|
| 80 |
algorithm_type="sde-dpmsolver++"
|
| 81 |
)
|
| 82 |
pipe_txt2img.enable_attention_slicing()
|