forked from React-Group/interstellar_ai
Compare commits
No commits in common. "26fcc50f318f2b43b278e42eabad8e8a872a1133" and "4e878b28f3eb75b7e066aae342ddf425dc33030f" have entirely different histories.
26fcc50f31
...
4e878b28f3
2 changed files with 2 additions and 3 deletions
|
@ -100,7 +100,7 @@ class API:
|
|||
@self.app.route('/interstellar_ai/api/voice_recognition', methods=['POST'])
|
||||
def voice_recognition():
|
||||
recognition_type = request.args.get('type')
|
||||
audio = request.args.get('audio')
|
||||
audio = request.files['audio']
|
||||
option = request.args.get('option')
|
||||
if recognition_type == "basic":
|
||||
return jsonify({'status': 200, 'response': self.voice.basic_recognition(audio, option)})
|
||||
|
|
|
@ -12,5 +12,4 @@ google-generativeai
|
|||
python-weather
|
||||
pycouchdb
|
||||
pyttsx3
|
||||
pip-licenses
|
||||
openai-whisper
|
||||
pip-licenses
|
Loading…
Reference in a new issue