Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@
|
|
34 |
################################################################
|
35 |
|
36 |
|
37 |
-
|
38 |
from diffusers import ControlNetModel, StableDiffusionXLControlNetPipeline, AutoencoderKL, EulerAncestralDiscreteScheduler
|
39 |
from diffusers.utils import load_image
|
40 |
from PIL import Image
|
@@ -43,7 +43,6 @@ import numpy as np
|
|
43 |
import cv2
|
44 |
import gradio as gr
|
45 |
from torchvision import transforms
|
46 |
-
import spaces
|
47 |
|
48 |
controlnet = ControlNetModel.from_pretrained(
|
49 |
"briaai/BRIA-2.2-ControlNet-Canny",
|
|
|
34 |
################################################################
|
35 |
|
36 |
|
37 |
+
import spaces
|
38 |
from diffusers import ControlNetModel, StableDiffusionXLControlNetPipeline, AutoencoderKL, EulerAncestralDiscreteScheduler
|
39 |
from diffusers.utils import load_image
|
40 |
from PIL import Image
|
|
|
43 |
import cv2
|
44 |
import gradio as gr
|
45 |
from torchvision import transforms
|
|
|
46 |
|
47 |
controlnet = ControlNetModel.from_pretrained(
|
48 |
"briaai/BRIA-2.2-ControlNet-Canny",
|