Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
)
|