mods / app.py
44brabal's picture
Rename .py to app.py
3590449
raw
history blame
296 Bytes
import gradio as gr
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline
controlnet = ControlNetModel.from_pretrained("monster-labs/control_v1p_sd15_qrcode_monster")
pipeline = StableDiffusionControlNetPipeline.from_pretrained(
"fill-in-base-model", controlnet=controlnet
)