Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,7 @@ import torch
|
|
5 |
from diffusers import StableDiffusion3Pipeline
|
6 |
from diffusers.models.controlnet_sd3 import ControlNetSD3Model
|
7 |
from diffusers.utils.torch_utils import randn_tensor
|
8 |
-
import
|
9 |
-
sys.path.append('/path/diffusers/examples/community')
|
10 |
-
from pipeline_stable_diffusion_3_controlnet import StableDiffusion3CommonPipeline
|
11 |
|
12 |
# load pipeline
|
13 |
base_model = 'stabilityai/stable-diffusion-3-medium-diffusers'
|
|
|
5 |
from diffusers import StableDiffusion3Pipeline
|
6 |
from diffusers.models.controlnet_sd3 import ControlNetSD3Model
|
7 |
from diffusers.utils.torch_utils import randn_tensor
|
8 |
+
from diffusers.examples.community.pipeline_stable_diffusion_3_controlnet import StableDiffusion3CommonPipeline
|
|
|
|
|
9 |
|
10 |
# load pipeline
|
11 |
base_model = 'stabilityai/stable-diffusion-3-medium-diffusers'
|