This commit is contained in:
AI-Casanova
2023-11-17 21:47:33 -06:00
parent 73cbd609c1
commit c93d6c7e26
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -266,7 +266,7 @@
{"id":"","label":"Base","localized":"","hint":"Text Encoder and a few unaligned keys (1 value)"},
{"id":"","label":"In Blocks","localized":"","hint":"Downsampling Blocks of the UNet (12 values for SD1.5, 9 values for SDXL)"},
{"id":"","label":"Mid Block","localized":"","hint":"Central Block of the UNet (1 value)"},
{"id":"","label":"Out Block","localized":"","hint":"Upsampling Blocks of the UNet (12 values for SD1.5, 9 values for SDXL)"}
{"id":"","label":"Out Block","localized":"","hint":"Upsampling Blocks of the UNet (12 values for SD1.5, 9 values for SDXL)"},
{"id":"","label":"Preset Interpolation Ratio","localized":"","hint":"If two presets are selected, interpolate between them"}
],
"train tabs": [
+1 -1
View File
@@ -14,7 +14,7 @@ class SDModel:
def load_model(self):
# logging.info(f"Loading: {self.model_path}")
if os.path.splitext(self.model_path) == ".safetensors":
if os.path.splitext(self.model_path)[1] == ".safetensors":
ckpt = safetensors.torch.load_file(
self.model_path,
device=self.device,
-1
View File
@@ -290,7 +290,6 @@ def create_ui():
for key in list(kwargs.keys()):
if kwargs[key] in [None, "None", "", 0, []]:
del kwargs[key]
try:
results = extras.run_MEHmodelmerger(dummy_component, **kwargs)
except Exception as e: