Merge pull request #113 from AIrjen/another_try_for_ComfyUI
Lets try this?
This commit is contained in:
@@ -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
@@ -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']
|
||||
Reference in New Issue
Block a user