if-ai / ComfyUI-IF_AI_tools

ComfyUI-IF_AI_tools is a set of custom nodes for ComfyUI that allows you to generate prompts using a local Large Language Model (LLM) via Ollama. This tool enables you to enhance your image generation workflow by leveraging the power of language models.
https://ko-fi.com/impactframes
MIT License
532 stars 42 forks source link

FileNotFoundError: [Errno 2] No such file or directory #115

Closed cardenluo closed 3 weeks ago

cardenluo commented 3 weeks ago

Traceback (most recent call last): File "F:\ComfyUI_windows_portable\ComfyUI\server.py", line 564, in get_object_info out[x] = node_info(x) ^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\ComfyUI\server.py", line 531, in node_info info['input'] = obj_class.INPUT_TYPES() ^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools\IFChatPromptNode.py", line 110, in INPUT_TYPES node = cls() ^^^^^ File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools\IFChatPromptNode.py", line 55, in init self.stop_strings = self.load_presets(self.stop_file) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools\IFChatPromptNode.py", line 71, in load_presets with open(file_path, 'r') as f: ^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'F:\ComfyUI_windows_portable\ComfyUI\input\IF_AI\presets\stop_strings.json'

cardenluo commented 3 weeks ago

image how to update this "json" ?

cardenluo commented 3 weeks ago

sorry , Copy it from the new download, and it's done.