experimental: LaMa Infill

This commit is contained in:
blessedcoolant
2023-08-24 07:25:24 +12:00
committed by Kent Keirsey
parent 7bb876a79b
commit 49892faee4
6 changed files with 211 additions and 20 deletions

View File

@ -55,7 +55,7 @@ async def get_version() -> AppVersion:
@app_router.get("/config", operation_id="get_config", status_code=200, response_model=AppConfig)
async def get_config() -> AppConfig:
infill_methods = ["tile"]
infill_methods = ["tile", "lama"]
if PatchMatch.patchmatch_available():
infill_methods.append("patchmatch")