fix model-not-found error

This commit is contained in:
Lincoln Stein 2023-11-04 11:12:29 -04:00
parent 2bbba323c6
commit 69543c23d0

View File

@ -274,9 +274,10 @@ class mergeModelsForm(npyscreen.FormMultiPageAction):
else:
interp = self.interpolations[self.merge_method.value[0]]
bases = ["sd-1", "sd-2", "sdxl"]
args = dict(
model_names=models,
base_model=tuple(BaseModelType)[self.base_select.value[0]],
base_model=BaseModelType(bases[self.base_select.value[0]]),
alpha=self.alpha.value,
interp=interp,
force=self.force.value,