You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
404 B
Python
11 lines
404 B
Python
from scripts.faceswaplab_utils.faceswaplab_logging import logger
|
|
import os
|
|
|
|
MODELS_DIR = os.path.abspath(os.path.join("models", "faceswaplab"))
|
|
ANALYZER_DIR = os.path.abspath(os.path.join(MODELS_DIR, "analysers"))
|
|
FACE_PARSER_DIR = os.path.abspath(os.path.join(MODELS_DIR, "parser"))
|
|
|
|
VERSION_FLAG = "v1.1.0"
|
|
EXTENSION_PATH = os.path.join("extensions", "sd-webui-faceswaplab")
|
|
NSFW_SCORE = 0.7
|