Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,6 @@ pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
|
|
| 28 |
use_safetensors=True
|
| 29 |
).to(device)
|
| 30 |
|
| 31 |
-
pipe.enable_model_cpu_offload() # Hugging Face Spaces safety
|
| 32 |
|
| 33 |
canny_detector = CannyDetector()
|
| 34 |
|
|
|
|
| 28 |
use_safetensors=True
|
| 29 |
).to(device)
|
| 30 |
|
|
|
|
| 31 |
|
| 32 |
canny_detector = CannyDetector()
|
| 33 |
|