[voice] add text to voice

This commit is contained in:
wanggang
2023-03-07 23:28:57 +08:00
parent 1711a5c064
commit cc19017c01
5 changed files with 75 additions and 18 deletions

View File

@@ -30,5 +30,8 @@ class Channel(object):
def build_reply_content(self, query, context=None):
return Bridge().fetch_reply_content(query, context)
def build_void_text(self, voice_file):
def build_voice_to_text(self, voice_file):
return Bridge().fetch_voice_to_text(voice_file)
def build_text_to_voice(self, text):
return Bridge().fetch_text_to_voice(text)