joseph6x commited on
Commit
1249cb1
·
verified ·
1 Parent(s): 266dc42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -31,7 +31,16 @@ class BasicAgent:
31
  self.agent = CodeAgent(tools=[
32
  DuckDuckGoSearchTool(),
33
  PythonInterpreterTool(
34
- authorized_imports=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(),