Browse Source

讯飞智能回复

linhaohong 1 year ago
parent
commit
b156ca2ebd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Controller/SmartReplyController.py

+ 1 - 0
Controller/SmartReplyController.py

@@ -33,6 +33,7 @@ class WsParamService(View):
     def smart_reply(self, request, request_dict, response):
         audio = request.FILES.get('audio', None)
         system = request_dict.get('system', None)
+        history = request_dict.get('history', None)
         audio_type = request_dict.get('audioType', 'pcm')
         save_directory = 'static/demo_files/'
         if not os.path.exists(save_directory):