rairo commited on
Commit
74b00de
·
verified ·
1 Parent(s): e6b1a9f

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -52,7 +52,7 @@ def bot():
52
 
53
  agent = create_pandas_dataframe_agent(llm, df, agent="structured_chat-zero-shot-react-description", verbose=True)
54
  response = agent.run(user_question)
55
- response.headers.add('Access-Control-Allow-Origin', '*')
56
  return jsonify(response)
57
 
58
 
 
52
 
53
  agent = create_pandas_dataframe_agent(llm, df, agent="structured_chat-zero-shot-react-description", verbose=True)
54
  response = agent.run(user_question)
55
+ #response.headers.add('Access-Control-Allow-Origin', '*')
56
  return jsonify(response)
57
 
58