mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
In the event where no `init_mask` is given and `invert_mask` is set to True, the script will raise the following error: ```bash AttributeError: 'NoneType' object has no attribute 'mode' ``` The new implementation will only run inversion when both variables are valid.