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

it's not working #82

Open oooobird2023 opened 4 months ago

oooobird2023 commented 4 months ago

I have downloaded the requirements and tried to download them manually or through the manager. The environment and mobile IF AI folder have been installed, but errors still occur。thank you!

11 22

Cannot import F:\ComfyUI2\ComfyUI\custom_nodes\ComfyUI-IDM-VTON module for custom nodes: No module named 'diffusers.models.dual_transformer_2d' Traceback (most recent call last): File "F:\ComfyUI2\ComfyUI\nodes.py", line 1931, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "F:\ComfyUI2\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools__init__.py", line 9, in from .IFChatPromptNode import IFChatPrompt File "F:\ComfyUI2\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools\IFChatPromptNode.py", line 12, in from .get_api import get_api_key File "F:\ComfyUI2\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools\get_api.py", line 2, in from dotenv import load_dotenv ModuleNotFoundError: No module named 'dotenv'

Cannot import F:\ComfyUI2\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools module for custom nodes: No module named 'dotenv' Unable to import guidedFilter, make sure you have only opencv-contrib-python or run the import_error_install.bat script

if-ai commented 4 months ago

activate your comfy environment and pip install python-dotenv