Skip to content

Commit d2e327a

Browse files
author
Lincoln Stein
committed
install models/core/misc/lama/lama.pt
1 parent b1ef337 commit d2e327a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

invokeai/backend/install/invokeai_configure.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,19 @@ def download_realesrgan():
290290
download_with_progress_bar(model["url"], config.models_path / model["dest"], model["description"])
291291

292292

293+
# ---------------------------------------------
294+
def download_lama():
295+
logger.info("Installing lama infill model")
296+
download_with_progress_bar(
297+
'https://github.com/Sanster/models/releases/download/add_big_lama/big-lama.pt',
298+
config.models_path / 'core/misc/lama/lama.pt',
299+
'lama infill model'
300+
)
301+
293302
# ---------------------------------------------
294303
def download_support_models():
295304
download_realesrgan()
305+
download_lama()
296306
download_conversion_models()
297307

298308

0 commit comments

Comments
 (0)