Sandiago21 commited on
Commit
163bb0a
·
verified ·
1 Parent(s): cf69b83

Update app.py to run the agent

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ class BasicAgent:
50
  prompt_templates=prompt_templates
51
  )
52
 
53
- agent_answer = agent.invoke(question)
54
 
55
  print(f"Agent Answer: {agent_answer}")
56
 
 
50
  prompt_templates=prompt_templates
51
  )
52
 
53
+ agent_answer = agent.run(question)
54
 
55
  print(f"Agent Answer: {agent_answer}")
56