Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
|
|
5 |
from PIL import Image
|
6 |
|
7 |
# Load Stable Diffusion 3 (from InstantX)
|
8 |
-
model_id = "
|
9 |
|
10 |
# Load the ControlNet model (use an appropriate pre-trained controlnet model)
|
11 |
controlnet = ControlNetModel.from_pretrained("lllyasviel/sd-controlnet-canny", torch_dtype=torch.float16)
|
|
|
5 |
from PIL import Image
|
6 |
|
7 |
# Load Stable Diffusion 3 (from InstantX)
|
8 |
+
model_id = "stabilityai/stable-diffusion-3-medium"
|
9 |
|
10 |
# Load the ControlNet model (use an appropriate pre-trained controlnet model)
|
11 |
controlnet = ControlNetModel.from_pretrained("lllyasviel/sd-controlnet-canny", torch_dtype=torch.float16)
|