Fix duplicated version logging (#2856)
parent
80bf7481c2
commit
6a86fdd78d
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue