Merge pull request #113 from AIrjen/another_try_for_ComfyUI

Lets try this?
This commit is contained in:
AIrjen
2023-08-08 21:35:47 +02:00
committed by GitHub
2 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -5,8 +5,9 @@ from datetime import datetime
import uuid
custom_nodes_path = os.path.join(folder_paths.base_path, "custom_nodes")
onebuttonprompt_path = os.path.join(custom_nodes_path, "onebuttonprompt")
sys.path.insert(0, onebuttonprompt_path)
onebuttonprompt_path = os.path.join(custom_nodes_path, "OneButtonPrompt")
sys.path.append(onebuttonprompt_path)
from build_dynamic_prompt import *
+3 -3
View File
@@ -3,9 +3,9 @@ import sys
import folder_paths
custom_nodes_path = os.path.join(folder_paths.base_path, "custom_nodes")
onebuttonprompt_path = os.path.join(custom_nodes_path, "onebuttonprompt")
sys.path.insert(0, onebuttonprompt_path)
onebuttonprompt_path = os.path.join(custom_nodes_path, "OneButtonPrompt")
sys.path.append(onebuttonprompt_path)
from .OneButtonPromptNodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
from OneButtonPromptNodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']