mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
typos
This commit is contained in:
+1
-1
@@ -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": [
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user