年翻更新
修复代码提交时错误
This commit is contained in:
commit
03ec9ef054
@ -277,7 +277,6 @@ def api_get_run_status():
|
||||
status = fay_booter.is_running()
|
||||
return json.dumps({'status': status})
|
||||
|
||||
|
||||
@__app.route('/api/adopt_msg', methods=['POST'])
|
||||
def adopt_msg():
|
||||
data = request.get_json()
|
||||
@ -303,7 +302,6 @@ def adopt_msg():
|
||||
else:
|
||||
return jsonify({'status':'error', 'msg': '采纳失败'})
|
||||
|
||||
|
||||
def stream_response(text):
|
||||
def generate():
|
||||
for chunk in text_chunks(text):
|
||||
|
Loading…
Reference in New Issue
Block a user