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