Spaces:
Running
on
Zero
Running
on
Zero
VanguardAI
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -174,7 +174,7 @@ def handle_input(user_prompt, image=None, video=None, audio=None, doc=None, webs
|
|
174 |
|
175 |
agent = ZeroShotAgent(llm_chain=llm_chain, tools=tools, verbose=True)
|
176 |
|
177 |
-
agent_executor = AgentExecutor.from_agent_and_tools(agent=agent, tools=tools, verbose=True
|
178 |
|
179 |
if image:
|
180 |
image = Image.open(image).convert('RGB')
|
|
|
174 |
|
175 |
agent = ZeroShotAgent(llm_chain=llm_chain, tools=tools, verbose=True)
|
176 |
|
177 |
+
agent_executor = AgentExecutor.from_agent_and_tools(agent=agent, tools=tools, verbose=True)
|
178 |
|
179 |
if image:
|
180 |
image = Image.open(image).convert('RGB')
|