Spaces:
Sleeping
Sleeping
Update main.py
Browse files
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
|
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__":
|