refac: convention

This commit is contained in:
Timothy J. Baek 2024-04-13 14:50:45 -07:00
parent ff01398812
commit 0981fae161

View file

@ -452,8 +452,8 @@ WHISPER_MODEL_DIR = os.getenv("WHISPER_MODEL_DIR", f"{CACHE_DIR}/whisper/models"
# Images # Images
#################################### ####################################
IMAGE_GENERATION_ENABLED = ( ENABLE_IMAGE_GENERATION = (
os.environ.get("IMAGE_GENERATION_ENABLED", "").lower() == "true" os.environ.get("ENABLE_IMAGE_GENERATION", "").lower() == "true"
) )
AUTOMATIC1111_BASE_URL = os.getenv("AUTOMATIC1111_BASE_URL", "") AUTOMATIC1111_BASE_URL = os.getenv("AUTOMATIC1111_BASE_URL", "")
COMFYUI_BASE_URL = os.getenv("COMFYUI_BASE_URL", "") COMFYUI_BASE_URL = os.getenv("COMFYUI_BASE_URL", "")