add trace logging

This commit is contained in:
Vladimir Mandic
2023-12-20 10:17:39 -05:00
parent 9f68fd7a9a
commit 8ceeee8b87
19 changed files with 52 additions and 22 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ sd_configs_path = os.path.join(script_path, "configs")
sd_default_config = os.path.join(sd_configs_path, "v1-inference.yaml")
sd_model_file = cli.ckpt or os.path.join(script_path, 'model.ckpt') # not used
default_sd_model_file = sd_model_file # not used
debug = log.info if os.environ.get('SD_PATH_DEBUG', None) is not None else lambda *args, **kwargs: None
debug = log.trace if os.environ.get('SD_PATH_DEBUG', None) is not None else lambda *args, **kwargs: None
paths = {}
if os.environ.get('SD_PATH_DEBUG', None) is not None: