fix: download correct inpaint engine in enhance

This commit is contained in:
Manuel Schmid 2024-06-19 21:30:36 +02:00
parent 6e3919f854
commit 87b3cec7d4
No known key found for this signature in database
GPG Key ID: 32C4F7569B40B84B
1 changed files with 1 additions and 1 deletions

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)]