mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-03-04 07:43:46 +08:00
11 lines
205 B
Python
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
|