The F5-TTS voice library (input/F5-TTS scanning, voice upload with ffmpeg conversion, romanization, Load Audio clip drags) and the engine switch are removed. The audio page now works with one engine, Anomalous_TTS (GPT-SoVITS): characters, drags onto its node, the Script Director with direct generation, pronunciation and settings. The audio gallery and its stream route stay (output and temp folders only). The root PATH hack that existed for F5-TTS's ffmpeg lookup is gone. Recorded as AD-016. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
390 B
Python
14 lines
390 B
Python
import os
|
|
from .api import setup_routes
|
|
from server import PromptServer
|
|
|
|
WEB_DIRECTORY = "./web"
|
|
|
|
# 注册 API 路由
|
|
if hasattr(PromptServer, "instance") and PromptServer.instance is not None:
|
|
setup_routes(PromptServer.instance.app)
|
|
|
|
NODE_CLASS_MAPPINGS = {}
|
|
NODE_DISPLAY_NAME_MAPPINGS = {}
|
|
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']
|