diff --git a/scripts/controlnet.py b/scripts/controlnet.py index ab6c3369e..35b349ff2 100644 --- a/scripts/controlnet.py +++ b/scripts/controlnet.py @@ -99,6 +99,7 @@ def swap_img2img_pipeline(p: processing.StableDiffusionProcessingImg2Img): global_state.update_cn_models() +logger.info(f"ControlNet {controlnet_version.version_flag}") def prepare_mask( diff --git a/scripts/controlnet_version.py b/scripts/controlnet_version.py index c5cdc9a72..5b8222290 100644 --- a/scripts/controlnet_version.py +++ b/scripts/controlnet_version.py @@ -1,8 +1,4 @@ -from scripts.logging import logger - version_flag = 'v1.1.448' - -logger.info(f"ControlNet {version_flag}") # A smart trick to know if user has updated as well as if user has restarted terminal. # Note that in "controlnet.py" we do NOT use "importlib.reload" to reload this "controlnet_version.py" # This means if user did not completely restart terminal, the "version_flag" will be the previous version.