mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-05-01 03:31:21 +00:00
fix: discontinued message
This commit is contained in:
@@ -1,10 +1,13 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
from rich import print
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from modules.processing import create_binary_mask
|
from modules.processing import create_binary_mask
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
msg = "[-] ADetailer: Support for webui versions below 1.6.0 will be discontinued."
|
||||||
|
print(msg)
|
||||||
|
|
||||||
def create_binary_mask(image: Image.Image):
|
def create_binary_mask(image: Image.Image):
|
||||||
return image.convert("L")
|
return image.convert("L")
|
||||||
|
|||||||
Reference in New Issue
Block a user