Update app.py
Browse filesauthorized_imports
app.py
CHANGED
@@ -149,6 +149,20 @@ class BasicAgent:
|
|
149 |
tools=[final_answer, search_tool, wiki_tool, fetch_file_tool, audio_description_tool],
|
150 |
max_steps=7,
|
151 |
verbosity_level=1,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
grammar=None,
|
153 |
planning_interval=None,
|
154 |
name=None,
|
|
|
149 |
tools=[final_answer, search_tool, wiki_tool, fetch_file_tool, audio_description_tool],
|
150 |
max_steps=7,
|
151 |
verbosity_level=1,
|
152 |
+
authorized_imports: [
|
153 |
+
"unicodedata",
|
154 |
+
"stat",
|
155 |
+
"datetime",
|
156 |
+
"random",
|
157 |
+
"pandas",
|
158 |
+
"itertools",
|
159 |
+
"math",
|
160 |
+
"statistics",
|
161 |
+
"queue",
|
162 |
+
"time",
|
163 |
+
"collections",
|
164 |
+
"re"
|
165 |
+
],
|
166 |
grammar=None,
|
167 |
planning_interval=None,
|
168 |
name=None,
|