70 lines
9.6 KiB
Python
70 lines
9.6 KiB
Python
from .hua_word_image import Huaword
|
|
from .hua_word_models import Modelhua
|
|
from .gradio_workflow import GradioInputImage, Hua_Output, GradioTextOk, GradioTextBad
|
|
from .mind_map import Go_to_image
|
|
from .hua_nodes import Hua_gradio_Seed, Hua_gradio_jsonsave
|
|
|
|
NODE_CLASS_MAPPINGS = {
|
|
"ComfyUI_hua_boy": Huaword,
|
|
"小字体说明:我是comfyui_hua_boy的model": Modelhua,
|
|
"hua_gradioinput": GradioInputImage,
|
|
"hua_gradiooutput": Hua_Output,
|
|
"brucelee": Go_to_image,
|
|
"hua_textok": GradioTextOk,
|
|
"hua_textbad": GradioTextBad,
|
|
"hua_gradio_seed": Hua_gradio_Seed,
|
|
"hua_gradio_jsonsave": Hua_gradio_jsonsave
|
|
}
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"ComfyUI_hua_boy": "🌵布尔图片Boolean_image",
|
|
"小字体说明:我是comfyui_hua_boy的model": "🌴布尔模型Boolean_model",
|
|
"hua_gradioinput": "☀️gradio前端传入图像",
|
|
"hua_gradiooutput": "🌙图像输出到gradio前端",
|
|
"brucelee": "⭐思维导图",
|
|
"hua_textok": "💧gradio正向提示词",
|
|
"hua_textbad": "🔥gradio负向提示词",
|
|
"hua_gradio_seed": "🧙hua_gradio随机种",
|
|
"hua_gradio_jsonsave": "📁hua_gradio_json保存"
|
|
}
|
|
|
|
jie = """
|
|
➕➖✖️➗ ✨✨✨✨✨ ✨ ⭐️✨✨✨✨✨✨ ➖✖️➗ ✨✨ ✨✨ ✨ ➖✖️➗ ✨
|
|
⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⠒⢲⡖⠒⠒⠒⠒⡖⠒⠶⠒⢶⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠌⢕⢕⢕⠕⠌⠌⠌⠌⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⢸⣫⡀⢕⢕⢕⢡⠕⢕⡀⢸⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠌⢕⢕⢕⠕⠌⠌⠌⠌⣀⣀⡀⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⢸⣫⣡⡀⡀⢕⠘⠕⠰⠋⢸⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠌⢕⠕⢕⠕⣰⣫⣟⣷⣹⣟⣟⣷⣤⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⢸⣫⡟⡮⡮⡮⡀⠌⡀⠌⢸⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠌⠕⠕⠕⠰⣫⣟⣟⠇⠼⢿⣟⣟⣟⣷⣄⠂⠂⠂⠂⠂⠂⠂⠂⢸⣫⡮⡮⡿⢻⣇⠕⢕⢕⣾⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠌⠕⠌⢕⣰⡿⠛⠁⠂⠂⠂⠂⠉⠻⣟⣟⣦⠂⠂⠂⠂⠂⠂⠂⢸⣫⡮⣭⣧⣼⡟⠂⢕⣀⣫⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠌⠌⠕⢰⡟⠂⠂⠂⠂⠂⠂⠂⠂⠂⠘⢿⣟⣧⠂⠂⠂⠂⠂⠂⢸⣫⡮⣫⡿⠋⢣⠕⠘⠛⢻⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠌⢕⣼⡇⠂⠂⠂⠂⠂⠂⠂⠂⠂⠌⠘⣟⣟⣇⠂⠂⠂⠂⠂⢸⣫⡮⡮⣷⣦⠈⠕⠕⠘⢿⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠕⢀⣫⡇⠂⠂⠂⠂⠂⠂⠕⢁⣠⣄⠲⢻⣟⣟⡄⠂⠂⠂⠂⢸⣫⣫⣫⣫⣫⣶⣶⡶⠾⢿⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠌⡌⣼⣟⣇⠌⢀⣀⢕⡄⠺⡀⠉⠃⠁⠌⠈⣫⣟⣧⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⢸⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠘⢱⣫⣟⡇⠈⠁⠉⠂⠌⠂⠌⠌⠌⠌⠌⠕⣹⣟⣫⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⢸⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⡀⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠕⢠⣫⣟⣟⣇⠌⠂⠂⠂⠂⠂⠌⠌⠂⠂⠌⠕⣟⣟⣫⠕⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⢸⠌⠂⢠⣶⣶⣶⣶⡄⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⠂⠂⠂⠂⠂⠂⢺⣦⡀⢠⣤⣼⣧⣤⣄⢠⣤⣤⣤⣤⡄⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠌⢠⣫⣫⣟⣟⣟⡄⠂⠂⠂⠂⠂⠂⣀⡀⠌⠌⢀⣟⣟⣟⡇⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⢸⠌⠂⢸⣟⠂⢠⣿⠂⠉⠉⠉⠉⠉⠉⠉⣫⡏⠉⠂⠂⠂⠂⠂⠂⠂⠙⠋⠂⣀⣸⣏⣀⡀⠂⢸⡇⠂⢸⡇⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠌⣄⠌⠂⠂⠂⠕⣼⣫⣟⣟⣟⣿⣟⡄⠂⠂⠌⠕⠕⠉⠌⠌⠌⣼⣟⣟⣟⣷⡀⠂⠂⠂⠂⠂⠂⠂⠂⠌⠘⠇⠌⢸⠌⠂⢸⣟⠂⣼⡇⠂⢠⣤⣤⣤⣤⡄⠂⣫⡇⠂⠂⠂⠂⠂⠂⢠⣄⠂⠂⠈⠉⢹⡟⠉⠉⠂⣼⠇⠂⢸⡇⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠕⢸⡇⠂⠂⠌⢰⣫⣟⣟⣟⣟⣟⣟⣟⣦⡀⠂⠂⠂⠂⠂⠕⣼⣟⣟⣟⣟⣟⡇⠂⠂⠂⠂⠂⠂⠂⠂⠕⠕⠕⠆⢸⠌⠂⢸⣟⠠⣟⠌⠂⢸⡏⠉⠉⣫⡇⠂⣫⡇⠂⠂⠂⠂⠂⠂⠈⠻⣷⠄⠘⠛⢻⡿⠛⡛⢼⠟⣤⣤⡾⠃⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠌⠸⠇⠂⠂⠂⢸⣫⣟⣟⣟⣫⣟⣟⣟⣟⡇⠌⠌⠕⠕⢕⢕⡮⣟⣟⣟⣟⣟⡇⠂⠂⠂⠂⠂⠂⠂⠂⠌⠌⠌⡀⢸⠌⠂⢸⣫⠂⠹⣧⠂⢸⡇⠂⠂⣫⡇⠂⣫⡇⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⢀⣠⡵⠟⠋⠂⣀⣤⡦⠂⠂⠂
|
|
⠂⠂⠂⠌⠌⠌⠌⠌⠕⠕⠕⠕⠕⠌⢸⡟⣟⣫⣫⣫⣟⣟⣟⣟⣫⠌⠂⠂⠂⠕⠕⠿⢿⣫⣟⣟⣟⣇⢀⠂⠂⠂⠂⠂⠂⠂⢰⣾⣟⣗⣼⠌⠂⢸⣫⠂⠂⣟⡆⢸⣇⣀⣀⣫⡇⠂⣫⡇⠂⠂⠂⠂⠂⠂⠂⠂⣰⡄⠂⠛⠛⢛⣫⡿⠟⠋⢡⣄⠂⠂⠂
|
|
⠂⠂⠂⠌⠕⠕⠕⠕⠕⠕⠕⠕⠕⠕⠕⢱⣾⡮⣫⣫⣟⣟⣟⣟⠃⠂⠂⠂⠂⠂⠂⠂⢸⣟⣟⣟⣫⣫⣫⣦⡁⠂⠂⠕⠲⣶⣾⣫⡮⣫⣫⠌⠂⢸⣫⣀⣀⣟⠇⢸⡟⠛⠛⠛⠃⠂⣟⡇⠂⠂⠂⠂⠂⠂⠂⢀⣿⠁⢠⣶⣾⣯⣥⣤⣤⣴⣶⣿⣷⡄⠂
|
|
⠂⠂⠂⠌⠕⢀⣀⣀⣠⣤⣤⡤⠕⠂⠕⣸⡿⡮⣫⣟⣟⣟⡿⠁⠂⠂⠂⠂⠂⠂⠂⠂⣼⣟⣟⣟⣫⣟⣟⣫⡮⢃⣤⡄⣰⡮⡮⡮⡮⡮⣫⠌⠂⢸⣫⠛⠛⠋⠂⠈⠁⠂⠂⠂⠂⠂⣟⡇⠂⠂⠂⠂⠂⠂⠂⢸⡿⠂⠂⢀⣴⡄⠂⢸⡇⠂⣴⣤⡈⠁⠂
|
|
⠂⠂⠂⠌⠋⠉⠉⠉⠁⠕⠕⠌⠂⢕⢰⣫⣴⣫⣟⣟⣟⣫⠁⠂⠂⠂⠂⠂⠂⠕⣀⠂⠈⣫⣟⣟⣟⣟⣫⡿⠃⠘⣡⡮⡮⡮⡮⡮⡮⡮⣫⠌⠂⢸⣫⠂⠂⠂⠂⠂⠂⠂⠰⣶⣶⣶⡿⠁⠂⠂⠂⠂⠂⠂⠂⣟⠇⠰⠾⠛⢩⣤⣤⣾⠇⠂⠂⠉⠻⠷⠂
|
|
⠂⠂⠂⠌⢕⢕⢕⢕⢕⢕⠕⠌⠕⢕⣈⣫⣟⣟⣟⣫⡮⠃⠂⠂⠂⠂⠂⠌⠂⠂⠉⠌⠕⣫⣫⣫⡮⠏⠋⢕⢕⣼⡮⡮⣫⣟⠉⠉⠉⠉⢹⠌⠂⠂⠁⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⢕⢕⢕⢕⢕⢕⠂⠕⢕⢕⡮⢹⣟⣟⣫⠏⠕⠂⠂⠂⠂⠂⠂⠂⠂⠌⠂⠌⢸⣟⣫⣫⣏⢕⢕⢸⣾⡮⡮⡮⣫⣫⠂⠂⠂⠂⢸⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⢕⢕⢕⢕⢕⠌⠌⢘⣇⢰⡮⢸⡮⡿⠋⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠌⢸⣫⣫⣫⡟⢕⢀⣾⣫⣺⡮⡮⡮⡮⠌⠂⠂⠂⢸⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⢕⢕⢕⢕⠕⠕⠕⠈⢟⠘⡮⣼⢕⠕⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⣸⣟⣫⡮⠇⢰⣾⣫⡮⡮⡮⡮⣫⡮⡀⠂⠂⠂⢸⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠂⠰⣆⢹⡿⣶⣫⡿⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠌⠂⠂⠂⣫⣟⡮⣏⢀⣾⣫⡏⢶⡮⡮⡮⣫⣫⡇⠂⠂⠂⢸⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠂⠌⠕⡮⡮⣄⡮⡮⠃⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠌⠌⠌⠂⠂⠂⢿⣫⡮⣏⣼⣫⡮⣧⣫⡮⡿⡮⣫⣫⠌⠂⠂⠂⢸⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⠂⠂⠂⠕⠕⢀⡮⡮⡮⡮⡮⠌⠂⠂⠂⠂⠂⠂⠂⠂⠌⠌⠂⠂⠂⠂⠂⠌⣾⣫⡮⡮⣫⣫⡵⡮⡟⡟⣣⣫⣫⣫⠌⠌⠌⠂⢸⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂微信:i_29N1O6E⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠌⠌⠌⢀⣠⣤⣼⣫⡮⣫⡮⡋⠌⠕⠕⠂⠂⠂⠂⠌⠂⠂⠂⠂⠂⠂⠂⠂⢰⣟⣫⣫⣫⣟⣫⣶⡮⢓⣴⣫⣫⣫⡏⠂⠂⠂⠂⢸⠌⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
⠂⠂⠂⠂⠌⠌⠉⠉⠉⠉⠉⠉⠉⠉⠌⠌⠉⠈⠁⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⠌⠈⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠁⠌⠌⠌⠌⠈⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂
|
|
➕➖✖️➗ ✨✨✨✨✨ ☀️☁️☔️❄️ ➖✖️➗ ✨✨ ✨✨ ✨ ➖✖️➗ ✨
|
|
"""
|
|
print(jie)
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", ]
|
|
|
|
WEB_DIRECTORY = "./js"
|
|
|