Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion invokeai/backend/image_util/infill_methods/patchmatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def _load_patch_match(cls):

@classmethod
def patchmatch_available(cls) -> bool:
cls._load_patch_match()
if not cls.tried_load:
cls._load_patch_match()
if not cls.patch_match:
return False
return cls.patch_match.patchmatch_available
Expand Down