dvir-bria commited on
Commit
0428173
1 Parent(s): cc732a6

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +3 -0
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",