Aabbhishekk commited on
Commit
2f49d42
1 Parent(s): dbbd74b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -120,9 +120,7 @@ def main():
120
  # initialize agent
121
  agent = initialize_agent(
122
  agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
123
- tools=[human_ask_tool,db_search_tool,google_searchtool]
124
- if mode == "Agent with AskHuman tool"
125
- else [db_search_tool,google_searchtool],
126
  llm=llm,
127
  verbose=True,
128
  max_iterations=5,
 
120
  # initialize agent
121
  agent = initialize_agent(
122
  agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
123
+ tools=[db_search_tool,google_searchtool],
 
 
124
  llm=llm,
125
  verbose=True,
126
  max_iterations=5,