实现 services

This commit is contained in:
2025-11-02 03:41:36 +08:00
parent 723046a876
commit 5aee812ffc
5 changed files with 14 additions and 3 deletions

View File

@@ -1 +1,6 @@
# 文本转语音服务
from heurams.context import config_var
from heurams.providers.tts import TTSs
from typing import Callable
convert: Callable = TTSs[config_var.get().get("tts_provider")]