omlakhani commited on
Commit
416497a
1 Parent(s): eecd56b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -143,7 +143,7 @@ agent = ZeroShotAgent(llm_chain=llm_chain, allowed_tools=tool_names)
143
 
144
  def get_answer(query_string):
145
  agent_executor = AgentExecutor.from_agent_and_tools(agent=agent, tools=tools, verbose=True)
146
- response, source = agent_executor.run(query_string)
147
  result = f"{response}"
148
  return result
149
 
 
143
 
144
  def get_answer(query_string):
145
  agent_executor = AgentExecutor.from_agent_and_tools(agent=agent, tools=tools, verbose=True)
146
+ response = agent_executor.run(query_string)
147
  result = f"{response}"
148
  return result
149