mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-03-19 13:28:11 +08:00
修改配置文件及文件夹名称
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user