fix: download correct inpaint engine in enhance

This commit is contained in:
Manuel Schmid
2024-06-19 21:31:01 +02:00
parent 6e3919f854
commit 87b3cec7d4
+1 -1
View File
@@ -1211,7 +1211,7 @@ def worker():
if inpaint_parameterized_enhance:
progressbar(async_task, current_progress, 'Downloading inpainter ...')
inpaint_head_model_path_enhance, inpaint_patch_model_path_enhance = modules.config.downloading_inpaint_models(
async_task.inpaint_engine)
enhance_inpaint_engine)
if inpaint_patch_model_path_enhance not in base_model_additional_loras_enhance:
base_model_additional_loras_enhance += [(inpaint_patch_model_path_enhance, 1.0)]