add new Fooocus Inpaint Model V2 (#614)

This commit is contained in:
lllyasviel
2023-10-09 18:42:10 -07:00
committed by GitHub
parent 8afdd7c7b0
commit 0723c2fa52
5 changed files with 30 additions and 14 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ def worker():
if isinstance(inpaint_image, np.ndarray) and isinstance(inpaint_mask, np.ndarray) \
and (np.any(inpaint_mask > 127) or len(outpaint_selections) > 0):
progressbar(1, 'Downloading inpainter ...')
inpaint_head_model_path, inpaint_patch_model_path = modules.path.downloading_inpaint_models()
inpaint_head_model_path, inpaint_patch_model_path = modules.path.downloading_inpaint_models(advanced_parameters.inpaint_engine)
loras += [(inpaint_patch_model_path, 1.0)]
goals.append('inpaint')
sampler_name = 'dpmpp_fooocus_2m_sde_inpaint_seamless'