Spaces:
Runtime error
Runtime error
Update generate_img.py
Browse files- generate_img.py +1 -1
generate_img.py
CHANGED
@@ -6,7 +6,7 @@ from pipeline_stable_diffusion_controlnet_inpaint import *
|
|
6 |
from diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_controlnet import *
|
7 |
import random
|
8 |
#model1
|
9 |
-
controlnet = ControlNetModel.from_pretrained("lllyasviel/
|
10 |
pipe = StableDiffusionControlNetInpaintPipeline.from_pretrained(
|
11 |
"./models/Any-inpainting", controlnet=controlnet, torch_dtype=torch.float16,cache_dir='./models'
|
12 |
)
|
|
|
6 |
from diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_controlnet import *
|
7 |
import random
|
8 |
#model1
|
9 |
+
controlnet = ControlNetModel.from_pretrained("lllyasviel/control_v11f1p_sd15_depth", torch_dtype=torch.float16)
|
10 |
pipe = StableDiffusionControlNetInpaintPipeline.from_pretrained(
|
11 |
"./models/Any-inpainting", controlnet=controlnet, torch_dtype=torch.float16,cache_dir='./models'
|
12 |
)
|