mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-12 05:10:34 -08:00
non-implemented mask with any type
This commit is contained in:
parent
a7c213d0f5
commit
9e1a8b7734
3 changed files with 6 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue