mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-03-19 21:38:18 +08:00
[voice] add google voice support
This commit is contained in:
10
voice/voice.py
Normal file
10
voice/voice.py
Normal file
@@ -0,0 +1,10 @@
|
||||
"""
|
||||
Voice service abstract class
|
||||
"""
|
||||
|
||||
class Voice(object):
|
||||
def voiceToText(self, voice_file):
|
||||
"""
|
||||
Send voice to voice service and get text
|
||||
"""
|
||||
raise NotImplementedError
|
||||
Reference in New Issue
Block a user