From 56bea46e3aaddc193372f647264b9577b56dee39 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Wed, 30 Aug 2023 15:34:55 +0530 Subject: [PATCH] Use absolute config path --- ui/easydiffusion/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/easydiffusion/app.py b/ui/easydiffusion/app.py index e2c190f8..91608dfb 100644 --- a/ui/easydiffusion/app.py +++ b/ui/easydiffusion/app.py @@ -172,6 +172,7 @@ getConfig.__test_diffusers_on_startup = None def setConfig(config): try: # config.yaml config_yaml_path = os.path.join(CONFIG_DIR, "..", "config.yaml") + config_yaml_path = os.path.abspath(config_yaml_path) yaml = YAML() if not hasattr(config, "_yaml_comment"):