Spaces:
Runtime error
Runtime error
Update chatbot_csv.py
Browse files- chatbot_csv.py +1 -1
chatbot_csv.py
CHANGED
@@ -84,7 +84,7 @@ def main():
|
|
84 |
|
85 |
old_stdout = sys.stdout
|
86 |
sys.stdout = captured_output = StringIO()
|
87 |
-
agent = create_csv_agent(ChatOpenAI(temperature=0), uploaded_file_content, verbose=True, max_iterations=
|
88 |
|
89 |
result = agent.run(query)
|
90 |
|
|
|
84 |
|
85 |
old_stdout = sys.stdout
|
86 |
sys.stdout = captured_output = StringIO()
|
87 |
+
agent = create_csv_agent(ChatOpenAI(temperature=0), uploaded_file_content, verbose=True, max_iterations=8)
|
88 |
|
89 |
result = agent.run(query)
|
90 |
|