Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,8 +35,8 @@ from langchain_community.llms import HuggingFaceHub
|
|
| 35 |
#from langchain_community.tools import PythonREPL
|
| 36 |
|
| 37 |
#from langchain_community.tools.python.tool import PythonREPLTool
|
| 38 |
-
from langchain_community.tools.python_repl import PythonREPLTool
|
| 39 |
-
|
| 40 |
|
| 41 |
# (Keep Constants as is)
|
| 42 |
# --- Constants ---
|
|
|
|
| 35 |
#from langchain_community.tools import PythonREPL
|
| 36 |
|
| 37 |
#from langchain_community.tools.python.tool import PythonREPLTool
|
| 38 |
+
#from langchain_community.tools.python_repl import PythonREPLTool
|
| 39 |
+
from langchain_experimental.tools.python.tool import PythonREPLTool
|
| 40 |
|
| 41 |
# (Keep Constants as is)
|
| 42 |
# --- Constants ---
|