binqiangliu commited on
Commit
1a96d1f
·
1 Parent(s): 1d7aa8d

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -57,7 +57,8 @@ def chat():
57
  user_query = data['user_question']
58
  # 调用Chatbot
59
  initial_response = llm_chain.run(user_query)
60
- return jsonify({'response': initial_response})
 
61
 
62
  #if __name__ == "__main__":
63
  # uvicorn.run(app, host='0.0.0.0', port=5000)
 
57
  user_query = data['user_question']
58
  # 调用Chatbot
59
  initial_response = llm_chain.run(user_query)
60
+ #return jsonify({'response': initial_response})
61
+ return {'response': initial_response}
62
 
63
  #if __name__ == "__main__":
64
  # uvicorn.run(app, host='0.0.0.0', port=5000)