Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,10 @@ class BasicAgent:
|
|
| 31 |
model=model,
|
| 32 |
add_base_tools=True,
|
| 33 |
max_steps=2,
|
|
|
|
| 34 |
)
|
|
|
|
|
|
|
| 35 |
response = code_agent.run(
|
| 36 |
f"""
|
| 37 |
You are an expert in answering questions with the tools provided. Answer the question below and with only an answer. Do not elaborate further.
|
|
|
|
| 31 |
model=model,
|
| 32 |
add_base_tools=True,
|
| 33 |
max_steps=2,
|
| 34 |
+
additional_authorized_imports=["pandas", "requests"],
|
| 35 |
)
|
| 36 |
+
|
| 37 |
+
code_agent.planning_interval = 2
|
| 38 |
response = code_agent.run(
|
| 39 |
f"""
|
| 40 |
You are an expert in answering questions with the tools provided. Answer the question below and with only an answer. Do not elaborate further.
|