You've already forked HeurAMS-Legacy
7 lines
194 B
Python
7 lines
194 B
Python
# 文本转语音服务
|
|
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")]
|