44brabal commited on
Commit
2ebdab7
1 Parent(s): 0b5b855

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -1,3 +1,10 @@
1
  import gradio as gr
2
 
3
- gr.Interface.load("models/runwayml/stable-diffusion-v1-5").launch()
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
 
3
+ gr.Interface.load("models/runwayml/stable-diffusion-v1-5").launch()
4
+
5
+ from diffusers import ControlNetModel, StableDiffusionControlNetPipeline
6
+
7
+ controlnet = ControlNetModel.from_pretrained("monster-labs/control_v1p_sd15_qrcode_monster")
8
+ pipeline = StableDiffusionControlNetPipeline.from_pretrained(
9
+ "fill-in-base-model", controlnet=controlnet
10
+ )