29 lines
1.2 KiB
Python
29 lines
1.2 KiB
Python
__version__ = "1.0.5"
|
|
__author__ = "DVA"
|
|
__description__ = "High-quality multilingual TTS with voice cloning, emotion control, and support for Qwen3-TTS models (CustomVoice, VoiceDesign, Base)."
|
|
__title__ = "DVA_Qwen_TTS"
|
|
|
|
try:
|
|
import comfy.utils
|
|
COMFYUI_AVAILABLE = True
|
|
except ImportError:
|
|
COMFYUI_AVAILABLE = False
|
|
print("[DVA Qwen-TTS] ComfyUI not available - running in standalone mode")
|
|
|
|
# Инициализируем пустые маппинги по умолчанию
|
|
NODE_CLASS_MAPPINGS = {}
|
|
NODE_DISPLAY_NAME_MAPPINGS = {}
|
|
|
|
# Загружаем узлы только если ComfyUI доступен
|
|
if COMFYUI_AVAILABLE:
|
|
try:
|
|
from .nodes import NODE_CLASS_MAPPINGS as imported_mappings
|
|
from .nodes import NODE_DISPLAY_NAME_MAPPINGS as imported_display_names
|
|
|
|
NODE_CLASS_MAPPINGS.update(imported_mappings)
|
|
NODE_DISPLAY_NAME_MAPPINGS.update(imported_display_names)
|
|
except Exception as e:
|
|
print(f"[DVA Qwen-TTS] Failed to import nodes: {e}")
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "__version__", "__author__", "__description__", "__title__"]
|