Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -43,6 +43,7 @@ import numpy as np
|
|
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",
|
|
|
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",
|