Maxenceleguery commited on
Commit
f5d1478
·
1 Parent(s): 9c2aaab

:wrench: Update authorized_imports

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +2 -1
app.py CHANGED
@@ -37,7 +37,7 @@ class BasicAgent:
37
  self.agent = CodeAgent(
38
  tools=[DuckDuckGoSearchTool()],
39
  model=OpenAIServerModel(model_id=OPENAI_MODEL_ID, api_key=OPENAI_API_KEY),
40
- additional_authorized_imports=["BeautifulSoup"],
41
  max_steps=10,
42
  )
43
 
 
37
  self.agent = CodeAgent(
38
  tools=[DuckDuckGoSearchTool()],
39
  model=OpenAIServerModel(model_id=OPENAI_MODEL_ID, api_key=OPENAI_API_KEY),
40
+ additional_authorized_imports=["bs4", "requests"],
41
  max_steps=10,
42
  )
43
 
requirements.txt CHANGED
@@ -6,4 +6,5 @@ dotenv
6
  openai
7
  Pillow
8
  soundfile
9
- beautifulsoup4
 
 
6
  openai
7
  Pillow
8
  soundfile
9
+ beautifulsoup4
10
+ openpyxl