Spaces:
Running
on
Zero
Running
on
Zero
Update model.py
Browse files
model.py
CHANGED
@@ -10,6 +10,9 @@ from diffusers import (
|
|
10 |
ControlNetModel, StableDiffusionXLControlNetPipeline, AutoencoderKL, EulerAncestralDiscreteScheduler
|
11 |
)
|
12 |
|
|
|
|
|
|
|
13 |
|
14 |
CONTROLNET_MODEL_IDS = {
|
15 |
"Canny": "briaai/BRIA-2.2-ControlNet-Canny",
|
|
|
10 |
ControlNetModel, StableDiffusionXLControlNetPipeline, AutoencoderKL, EulerAncestralDiscreteScheduler
|
11 |
)
|
12 |
|
13 |
+
import cv2
|
14 |
+
from torchvision import transforms
|
15 |
+
|
16 |
|
17 |
CONTROLNET_MODEL_IDS = {
|
18 |
"Canny": "briaai/BRIA-2.2-ControlNet-Canny",
|