m-ric HF staff commited on
Commit
7c0162f
·
verified ·
1 Parent(s): ccf4c06

Upload tool

Browse files
Files changed (3) hide show
  1. agent.json +7 -7
  2. app.py +1 -2
  3. requirements.txt +3 -3
agent.json CHANGED
@@ -35,17 +35,17 @@
35
  "name": null,
36
  "description": null,
37
  "authorized_imports": [
38
- "datetime",
39
- "math",
40
- "re",
41
- "statistics",
42
- "pandas",
43
- "collections",
44
- "queue",
45
  "time",
 
46
  "unicodedata",
 
 
47
  "stat",
48
  "itertools",
 
 
 
 
49
  "random"
50
  ]
51
  }
 
35
  "name": null,
36
  "description": null,
37
  "authorized_imports": [
 
 
 
 
 
 
 
38
  "time",
39
+ "queue",
40
  "unicodedata",
41
+ "collections",
42
+ "re",
43
  "stat",
44
  "itertools",
45
+ "pandas",
46
+ "datetime",
47
+ "math",
48
+ "statistics",
49
  "random"
50
  ]
51
  }
app.py CHANGED
@@ -25,8 +25,7 @@ agent = CodeAgent(
25
  planning_interval=None,
26
  name=None,
27
  description=None,
28
- authorized_imports=['datetime', 'math', 're', 'statistics', 'pandas', 'collections', 'queue', 'time', 'unicodedata', 'stat', 'itertools', 'random'],
29
-
30
  prompts_path='./prompts.yaml'
31
  )
32
 
 
25
  planning_interval=None,
26
  name=None,
27
  description=None,
28
+ authorized_imports=['time', 'queue', 'unicodedata', 'collections', 're', 'stat', 'itertools', 'pandas', 'datetime', 'math', 'statistics', 'random'],
 
29
  prompts_path='./prompts.yaml'
30
  )
31
 
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
- markdownify
2
- duckduckgo_search
3
- requests
4
  smolagents
 
 
5
  pandas
 
 
 
 
 
1
  smolagents
2
+ requests
3
+ markdownify
4
  pandas
5
+ duckduckgo_search