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