File size: 365 Bytes
0b5b855
 
2ebdab7
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
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
)