Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,7 @@ import torch
|
|
| 7 |
from diffusers import StableDiffusion3Pipeline
|
| 8 |
from diffusers.models.controlnet_sd3 import ControlNetSD3Model
|
| 9 |
from diffusers.utils.torch_utils import randn_tensor
|
|
|
|
| 10 |
|
| 11 |
# Clone the specific branch
|
| 12 |
subprocess.run(["git", "clone", "-b", "sd3_control", "https://github.com/instantX-research/diffusers_sd3_control.git"])
|
|
|
|
| 7 |
from diffusers import StableDiffusion3Pipeline
|
| 8 |
from diffusers.models.controlnet_sd3 import ControlNetSD3Model
|
| 9 |
from diffusers.utils.torch_utils import randn_tensor
|
| 10 |
+
from diffusers.utils import load_image
|
| 11 |
|
| 12 |
# Clone the specific branch
|
| 13 |
subprocess.run(["git", "clone", "-b", "sd3_control", "https://github.com/instantX-research/diffusers_sd3_control.git"])
|