rairo commited on
Commit
05b0fb5
·
verified ·
1 Parent(s): 1a0d7ed

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -45,7 +45,7 @@ def bot():
45
 
46
  agent = create_pandas_dataframe_agent(llm, df, agent="structured_chat-zero-shot-react-description", verbose=True)
47
  response = agent.run(user_question)
48
- return json_table
49
 
50
 
51
  if __name__ == "__main__":
 
45
 
46
  agent = create_pandas_dataframe_agent(llm, df, agent="structured_chat-zero-shot-react-description", verbose=True)
47
  response = agent.run(user_question)
48
+ return jsonify(response)
49
 
50
 
51
  if __name__ == "__main__":