Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,16 @@ class BasicAgent:
|
|
31 |
self.agent = CodeAgent(tools=[
|
32 |
DuckDuckGoSearchTool(),
|
33 |
PythonInterpreterTool(
|
34 |
-
authorized_imports=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
),
|
36 |
SpeechToTextTool(),
|
37 |
WikipediaSearchTool(),
|
|
|
31 |
self.agent = CodeAgent(tools=[
|
32 |
DuckDuckGoSearchTool(),
|
33 |
PythonInterpreterTool(
|
34 |
+
authorized_imports=[
|
35 |
+
"pandas",
|
36 |
+
"bs4",
|
37 |
+
"pillow",
|
38 |
+
"urllib.request",
|
39 |
+
"PIL",
|
40 |
+
"PIL.Image",
|
41 |
+
"requests",
|
42 |
+
"io"
|
43 |
+
],
|
44 |
),
|
45 |
SpeechToTextTool(),
|
46 |
WikipediaSearchTool(),
|