44brabal's picture
Update app.py
6895962
raw
history blame
365 Bytes
import gradio as gr
gr.Interface.load("models/runwayml/stable-diffusion-v1-5").launch()
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
)