44brabal commited on
Commit
4a6e885
1 Parent(s): f26bb73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -2,6 +2,8 @@ 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")
 
2
 
3
  gr.Interface.load("models/runwayml/stable-diffusion-v1-5").launch()
4
 
5
+ pip install diffusers["torch"] transformers
6
+
7
  from diffusers import ControlNetModel, StableDiffusionControlNetPipeline
8
 
9
  controlnet = ControlNetModel.from_pretrained("monster-labs/control_v1p_sd15_qrcode_monster")