Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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")
|