Spaces:
Configuration error
Configuration error
oremaz
commited on
Commit
·
e78b10b
1
Parent(s):
d9cda6f
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -325,19 +325,9 @@ safe_globals = {
|
|
| 325 |
"gzip": __import__("gzip"),
|
| 326 |
"base64": __import__("base64"),
|
| 327 |
"hashlib": __import__("hashlib"),
|
| 328 |
-
"uuid": __import__("uuid"),
|
| 329 |
|
| 330 |
# Scientific Computing
|
| 331 |
"sympy": __import__("sympy"),
|
| 332 |
-
"networkx": __import__("networkx"),
|
| 333 |
-
|
| 334 |
-
# Database
|
| 335 |
-
"sqlite3": __import__("sqlite3"),
|
| 336 |
-
|
| 337 |
-
# Parallel Processing
|
| 338 |
-
"multiprocessing": __import__("multiprocessing"),
|
| 339 |
-
"threading": __import__("threading"),
|
| 340 |
-
"concurrent": __import__("concurrent"),
|
| 341 |
}
|
| 342 |
|
| 343 |
def execute_python_code(code: str) -> str:
|
|
|
|
| 325 |
"gzip": __import__("gzip"),
|
| 326 |
"base64": __import__("base64"),
|
| 327 |
"hashlib": __import__("hashlib"),
|
|
|
|
| 328 |
|
| 329 |
# Scientific Computing
|
| 330 |
"sympy": __import__("sympy"),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 331 |
}
|
| 332 |
|
| 333 |
def execute_python_code(code: str) -> str:
|