rairo commited on
Commit
bee7020
·
verified ·
1 Parent(s): 3fb6663

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -57,7 +57,7 @@ def bot():
57
  agent = create_pandas_dataframe_agent(llm, df, agent="structured_chat-zero-shot-react-description", verbose=True)
58
  response = agent.run(user_question)
59
  #response.headers.add('Access-Control-Allow-Origin', '*')
60
- return jsonify(response+' and the columns in your data are: 'str(list(df)))
61
 
62
 
63
  if __name__ == "__main__":
 
57
  agent = create_pandas_dataframe_agent(llm, df, agent="structured_chat-zero-shot-react-description", verbose=True)
58
  response = agent.run(user_question)
59
  #response.headers.add('Access-Control-Allow-Origin', '*')
60
+ return jsonify(response+' and the columns in your data are: ' + str(list(df)))
61
 
62
 
63
  if __name__ == "__main__":