Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,10 +5,9 @@ import pandas as pd
|
|
| 5 |
from smolagents import (
|
| 6 |
CodeAgent,
|
| 7 |
DuckDuckGoSearchTool,
|
| 8 |
-
PythonREPLTool,
|
| 9 |
OpenAIServerModel,
|
| 10 |
)
|
| 11 |
-
from smolagents.tools.python_repl import
|
| 12 |
import traceback # Import traceback for detailed error logging
|
| 13 |
|
| 14 |
# --- Constants ---
|
|
|
|
| 5 |
from smolagents import (
|
| 6 |
CodeAgent,
|
| 7 |
DuckDuckGoSearchTool,
|
|
|
|
| 8 |
OpenAIServerModel,
|
| 9 |
)
|
| 10 |
+
from smolagents.tools.python_repl import PythonREPLTool # Changed the import
|
| 11 |
import traceback # Import traceback for detailed error logging
|
| 12 |
|
| 13 |
# --- Constants ---
|