non-implemented mask with any type

This commit is contained in:
Stephen
2022-10-22 15:42:00 -04:00
committed by AUTOMATIC1111
parent a7c213d0f5
commit 9e1a8b7734
3 changed files with 6 additions and 2 deletions

View File

@@ -72,6 +72,10 @@ class Api:
if init_images is None:
raise HTTPException(status_code=404, detail="Init image not found")
mask = img2imgreq.mask
if mask:
raise HTTPException(status_code=400, detail="Mask not supported yet")
populate = img2imgreq.copy(update={ # Override __init__ params
"sd_model": shared.sd_model,