Change model repo id
Browse files
custum_3d_diffusion/custum_modules/unifield_processor.py
CHANGED
|
@@ -70,7 +70,7 @@ class AttnConfig:
|
|
| 70 |
use_mv_joint_attn: bool = False
|
| 71 |
|
| 72 |
# for unet
|
| 73 |
-
init_unet_path: str = "
|
| 74 |
init_num_cls_label: int = 0 # for initialize
|
| 75 |
cls_labels: List[int] = field(default_factory=lambda: [])
|
| 76 |
cls_label_type: str = "embedding"
|
|
|
|
| 70 |
use_mv_joint_attn: bool = False
|
| 71 |
|
| 72 |
# for unet
|
| 73 |
+
init_unet_path: str = "stable-diffusion-v1-5/stable-diffusion-v1-5"
|
| 74 |
init_num_cls_label: int = 0 # for initialize
|
| 75 |
cls_labels: List[int] = field(default_factory=lambda: [])
|
| 76 |
cls_label_type: str = "embedding"
|
gradio_app/all_models.py
CHANGED
|
@@ -6,7 +6,7 @@ from diffusers import StableDiffusionControlNetImg2ImgPipeline, StableDiffusionP
|
|
| 6 |
class MyModelZoo:
|
| 7 |
_pipe_disney_controlnet_lineart_ipadapter_i2i: StableDiffusionControlNetImg2ImgPipeline = None
|
| 8 |
|
| 9 |
-
base_model = "
|
| 10 |
|
| 11 |
def __init__(self, base_model=None) -> None:
|
| 12 |
if base_model is not None:
|
|
|
|
| 6 |
class MyModelZoo:
|
| 7 |
_pipe_disney_controlnet_lineart_ipadapter_i2i: StableDiffusionControlNetImg2ImgPipeline = None
|
| 8 |
|
| 9 |
+
base_model = "stable-diffusion-v1-5/stable-diffusion-v1-5"
|
| 10 |
|
| 11 |
def __init__(self, base_model=None) -> None:
|
| 12 |
if base_model is not None:
|
scripts/sd_model_zoo.py
CHANGED
|
@@ -4,7 +4,7 @@ import torch
|
|
| 4 |
from copy import deepcopy
|
| 5 |
|
| 6 |
ENABLE_CPU_CACHE = False
|
| 7 |
-
DEFAULT_BASE_MODEL = "
|
| 8 |
|
| 9 |
cached_models = {} # cache for models to avoid repeated loading, key is model name
|
| 10 |
def cache_model(func):
|
|
|
|
| 4 |
from copy import deepcopy
|
| 5 |
|
| 6 |
ENABLE_CPU_CACHE = False
|
| 7 |
+
DEFAULT_BASE_MODEL = "stable-diffusion-v1-5/stable-diffusion-v1-5"
|
| 8 |
|
| 9 |
cached_models = {} # cache for models to avoid repeated loading, key is model name
|
| 10 |
def cache_model(func):
|