Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,8 +12,10 @@ precision = torch.float16
|
|
| 12 |
|
| 13 |
|
| 14 |
# 🏗️ Load ControlNet model for Canny edge detection
|
|
|
|
|
|
|
| 15 |
controlnet = ControlNetModel.from_pretrained(
|
| 16 |
-
"
|
| 17 |
torch_dtype=precision
|
| 18 |
)
|
| 19 |
|
|
|
|
| 12 |
|
| 13 |
|
| 14 |
# 🏗️ Load ControlNet model for Canny edge detection
|
| 15 |
+
# xinsir/controlnet-canny-sdxl-1.0
|
| 16 |
+
# diffusers/controlnet-canny-sdxl-1.0
|
| 17 |
controlnet = ControlNetModel.from_pretrained(
|
| 18 |
+
"xinsir/controlnet-canny-sdxl-1.0",
|
| 19 |
torch_dtype=precision
|
| 20 |
)
|
| 21 |
|