浏览代码

讯飞智能回复

linhaohong 1 年之前
父节点
当前提交
b156ca2ebd
共有 1 个文件被更改,包括 1 次插入0 次删除
  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):