Files
chatgpt-on-wechat/voice/voice.py
2023-03-07 14:29:59 +08:00

11 lines
205 B
Python

"""
Voice service abstract class
"""
class Voice(object):
def voiceToText(self, voice_file):
"""
Send voice to voice service and get text
"""
raise NotImplementedError