diff --git a/node.py b/node.py index 2d59372..550fc26 100644 --- a/node.py +++ b/node.py @@ -135,7 +135,7 @@ def create_comfyui_nodes_from_schemas(schemas_dir): schemas_dir_path = os.path.join(current_path, schemas_dir) for schema_file in os.listdir(schemas_dir_path): if schema_file.endswith(".json"): - with open(os.path.join(schemas_dir_path, schema_file), "r") as f: + with open(os.path.join(schemas_dir_path, schema_file), "r", encoding="utf-8") as f: schema = json.load(f) node_name, node_class = create_comfyui_node(schema) nodes[node_name] = node_class diff --git a/pyproject.toml b/pyproject.toml index eca0346..c3fa74a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-replicate" description = "Run Replicate models in ComfyUI" -version = "1.0.3" +version = "1.0.4" license = "LICENSE" [project.urls]