Renaming and moving stuff around so install can be done easy in ComfyUI

pull/103/head
AIrjen 2023-08-04 21:21:03 +02:00
parent b02e5638b8
commit dd28375367
2 changed files with 4 additions and 1 deletions

View File

@ -186,7 +186,7 @@ class SavePromptToFile:
directoryandfilename = os.path.abspath(os.path.join(output_directory, filenamecomplete))
with open(directoryandfilename, 'w') as file:
with open(directoryandfilename, 'w', encoding="utf-8") as file:
file.write("prompt: " + positive_prompt + "\n")
file.write("negative prompt: " + negative_prompt + "\n")

3
__init__.py Normal file
View File

@ -0,0 +1,3 @@
from .OneButtonPromptNodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']