VanguardAI commited on
Commit
72769c7
·
verified ·
1 Parent(s): 4fba4d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -162,7 +162,7 @@ def handle_input(user_prompt, image=None, video=None, audio=None, doc=None, webs
162
  def llm_function(query):
163
  return llm_chain.run(query)
164
 
165
- agent_executor = AgentExecutor.from_llm_and_tools(llm=llm_function, tools=tools, verbose=True)
166
 
167
  if image:
168
  image = Image.open(image).convert('RGB')
 
162
  def llm_function(query):
163
  return llm_chain.run(query)
164
 
165
+ agent_executor = AgentExecutor.from_agent_and_tools(llm=llm_function, tools=tools, verbose=True)
166
 
167
  if image:
168
  image = Image.open(image).convert('RGB')