Spaces:
Sleeping
Sleeping
Upload tool
Browse files- agent.json +7 -7
- app.py +1 -1
- requirements.txt +3 -3
agent.json
CHANGED
|
@@ -31,16 +31,16 @@
|
|
| 31 |
"description": null,
|
| 32 |
"authorized_imports": [
|
| 33 |
"unicodedata",
|
| 34 |
-
"re",
|
| 35 |
-
"math",
|
| 36 |
-
"collections",
|
| 37 |
-
"statistics",
|
| 38 |
"itertools",
|
| 39 |
-
"stat",
|
| 40 |
-
"queue",
|
| 41 |
-
"pandas",
|
| 42 |
"time",
|
|
|
|
| 43 |
"datetime",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
"random"
|
| 45 |
]
|
| 46 |
}
|
|
|
|
| 31 |
"description": null,
|
| 32 |
"authorized_imports": [
|
| 33 |
"unicodedata",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
"itertools",
|
|
|
|
|
|
|
|
|
|
| 35 |
"time",
|
| 36 |
+
"statistics",
|
| 37 |
"datetime",
|
| 38 |
+
"queue",
|
| 39 |
+
"collections",
|
| 40 |
+
"pandas",
|
| 41 |
+
"re",
|
| 42 |
+
"math",
|
| 43 |
+
"stat",
|
| 44 |
"random"
|
| 45 |
]
|
| 46 |
}
|
app.py
CHANGED
|
@@ -17,7 +17,7 @@ agent = CodeAgent(
|
|
| 17 |
planning_interval=None,
|
| 18 |
name=None,
|
| 19 |
description=None,
|
| 20 |
-
authorized_imports=['unicodedata', '
|
| 21 |
prompts_path='./prompts.yaml'
|
| 22 |
)
|
| 23 |
|
|
|
|
| 17 |
planning_interval=None,
|
| 18 |
name=None,
|
| 19 |
description=None,
|
| 20 |
+
authorized_imports=['unicodedata', 'itertools', 'time', 'statistics', 'datetime', 'queue', 'collections', 'pandas', 're', 'math', 'stat', 'random'],
|
| 21 |
prompts_path='./prompts.yaml'
|
| 22 |
)
|
| 23 |
|
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
-
|
| 2 |
requests
|
| 3 |
-
|
| 4 |
pandas
|
| 5 |
-
|
|
|
|
| 1 |
+
duckduckgo_search
|
| 2 |
requests
|
| 3 |
+
smolagents
|
| 4 |
pandas
|
| 5 |
+
markdownify
|