Create Anis
Browse filesAnis maalem
![16972208257448984941786423505210.jpg](https://cdn-uploads.huggingface.co/production/uploads/65298842c6857682d3b0d975/T20rnWMB9antUDqIovjRg.jpeg)
Anis
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline
|
2 |
+
|
3 |
+
controlnet = ControlNetModel.from_pretrained("monster-labs/control_v1p_sd15_qrcode_monster")
|
4 |
+
pipeline = StableDiffusionControlNetPipeline.from_pretrained(
|
5 |
+
"fill-in-base-model", controlnet=controlnet
|
6 |
+
)from diffusers import ControlNetModel, StableDiffusionControlNetPipeline
|
7 |
+
|
8 |
+
controlnet = ControlNetModel.from_pretrained("monster-labs/control_v1p_sd15_qrcode_monster")
|
9 |
+
pipeline = StableDiffusionControlNetPipeline.from_pretrained(
|
10 |
+
"fill-in-base-model", controlnet=controlnet
|
11 |
+
)
|