kpbotla commited on
Commit
1a336d3
·
verified ·
1 Parent(s): 1f992ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -34,7 +34,9 @@ from langchain.agents import initialize_agent, Tool
34
  from langchain_community.llms import HuggingFaceHub
35
  #from langchain_community.tools import PythonREPL
36
 
37
- from langchain_community.tools.python.tool import PythonREPLTool
 
 
38
 
39
  # (Keep Constants as is)
40
  # --- Constants ---
 
34
  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 ---