Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ diffuser_pipeline = DiffusionPipeline.from_pretrained(
|
|
24 |
#torch_dtype=torch.float16,
|
25 |
)
|
26 |
|
27 |
-
|
28 |
diffuser_pipeline = diffuser_pipeline.to(device)
|
29 |
|
30 |
#ββββββββββββββββββββββββββββββββββββββββββββ
|
|
|
24 |
#torch_dtype=torch.float16,
|
25 |
)
|
26 |
|
27 |
+
diffuser_pipeline.enable_attention_slicing()
|
28 |
diffuser_pipeline = diffuser_pipeline.to(device)
|
29 |
|
30 |
#ββββββββββββββββββββββββββββββββββββββββββββ
|