Update main.py
Browse files
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 |
|