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

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

View File

@@ -1,5 +0,0 @@
{
"voice_type": 1003, # 客服女声
"tencent_secret_id": "YOUR_SECRET_ID",
"tencent_secret_key": "YOUR_SECRET_KEY"
}

View File

@@ -0,0 +1,5 @@
{
"voice_type": 1003, # 客服女声
"secret_id": "YOUR_SECRET_ID",
"secret_key": "YOUR_SECRET_KEY"
}