Files
WingeD123-ComfyUI_QwenVL_Pr…/__init__.py
T
2025-11-04 16:10:47 +08:00

24 lines
872 B
Python

from .qwen_25 import Qwen25Caption, Qwen25CaptionBatch
from .qwen_3 import Qwen3Caption, Qwen3CaptionBatch
# ----------------------------------------------------------------------------------
# --- ComfyUI 映射 ---
# ----------------------------------------------------------------------------------
WEB_DIRECTORY = "./"
NODE_CLASS_MAPPINGS = {
"Qwen25Caption": Qwen25Caption,
"Qwen25CaptionBatch": Qwen25CaptionBatch,
"Qwen3Caption": Qwen3Caption,
"Qwen3CaptionBatch": Qwen3CaptionBatch,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"Qwen25Caption": "Qwen2.5 VL Caption (Inverse Prompt)",
"Qwen25CaptionBatch": "Qwen2.5 VL Batch Caption",
"Qwen3Caption": "Qwen3 VL Caption (Inverse Prompt)",
"Qwen3CaptionBatch": "Qwen3 VL Batch Caption",
}
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]