chore: sync, lint & update

This commit is contained in:
blessedcoolant 2023-09-05 14:17:23 +12:00
parent c5b9c8fc3a
commit a9fafad5b5
2 changed files with 65 additions and 18 deletions

View File

@ -294,11 +294,12 @@ def download_realesrgan():
def download_lama():
logger.info("Installing lama infill model")
download_with_progress_bar(
'https://github.com/Sanster/models/releases/download/add_big_lama/big-lama.pt',
config.models_path / 'core/misc/lama/lama.pt',
'lama infill model'
"https://github.com/Sanster/models/releases/download/add_big_lama/big-lama.pt",
config.models_path / "core/misc/lama/lama.pt",
"lama infill model",
)
# ---------------------------------------------
def download_support_models():
download_realesrgan()

File diff suppressed because one or more lines are too long