From 10fece3633d9b8373907da96ff2e01a2cbd211e7 Mon Sep 17 00:00:00 2001 From: smthemex <138738845+smthemex@users.noreply.github.com> Date: Sat, 13 Jul 2024 17:00:59 +0800 Subject: [PATCH] Update Storydiffusion_node.py fix macOS load config --- Storydiffusion_node.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Storydiffusion_node.py b/Storydiffusion_node.py index b5a0ccd..0960b47 100644 --- a/Storydiffusion_node.py +++ b/Storydiffusion_node.py @@ -921,7 +921,9 @@ def msdiffusion_main(pipe, image_1, image_2, prompts_dual, width, height, steps, return res if _model_type == "img2img" : # 图生图双角色目前只能先用原方法,2者encoder模型不同,没法相互调用 del pipe - + if sys.platform=="darwin": + cur_path=os.getcwd() + original_config_file=os.path.join(cur_path,'config', 'sd_xl_base.yaml') # load SDXL pipeline if dif_repo!="none": single_files=False