修改配置文件及文件夹名称

This commit is contained in:
gaojia
2025-03-26 10:01:41 +08:00
parent ec1c6c7b92
commit ce505251f8
4 changed files with 10 additions and 6 deletions

View File

@@ -51,7 +51,11 @@ def create_voice(voice_type):
return XunfeiVoice()
elif voice_type == "tencent":
from voice.telent.tencent_voice import TencentVoice
from voice.tencent.tencent_voice import TencentVoice
return TencentVoice()
elif voice_type == "funasr":
from voice.funasr.fun_voice import FunVoice
return FunVoice()
raise RuntimeError