bstraehle commited on
Commit
f08ec3e
·
verified ·
1 Parent(s): 84d3338

Update crew.py

Browse files
Files changed (1) hide show
  1. crew.py +1 -2
crew.py CHANGED
@@ -32,7 +32,7 @@ def run_crew(question, file_name):
32
  # Tools
33
 
34
  image_analysis_tool = VisionTool()
35
- python_coding_tool = CodeInterpreterTool()
36
  web_search_tool = SerperDevTool()
37
  web_rag_tool = WebsiteSearchTool()
38
  video_analysis_tool = YoutubeVideoSearchTool()
@@ -60,7 +60,6 @@ def run_crew(question, file_name):
60
  tools=[python_coding_tool],
61
  verbose=True,
62
  allow_code_execution=True,
63
- code_execution_mode="unsafe",
64
  max_execution_time=300,
65
  max_retry_limit=3
66
  )
 
32
  # Tools
33
 
34
  image_analysis_tool = VisionTool()
35
+ python_coding_tool = CodeInterpreterTool(unsafe_mode=True)
36
  web_search_tool = SerperDevTool()
37
  web_rag_tool = WebsiteSearchTool()
38
  video_analysis_tool = YoutubeVideoSearchTool()
 
60
  tools=[python_coding_tool],
61
  verbose=True,
62
  allow_code_execution=True,
 
63
  max_execution_time=300,
64
  max_retry_limit=3
65
  )