mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-06-02 00:57:41 +08:00
删除funasr
This commit is contained in:
@@ -54,8 +54,4 @@ def create_voice(voice_type):
|
|||||||
from voice.tencent.tencent_voice import TencentVoice
|
from voice.tencent.tencent_voice import TencentVoice
|
||||||
|
|
||||||
return TencentVoice()
|
return TencentVoice()
|
||||||
elif voice_type == "funasr":
|
|
||||||
from voice.funasr.fun_voice import FunVoice
|
|
||||||
|
|
||||||
return FunVoice()
|
|
||||||
raise RuntimeError
|
raise RuntimeError
|
||||||
|
|||||||
Reference in New Issue
Block a user