aakash0563 commited on
Commit
33adf11
·
1 Parent(s): 4eefc12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ agent_chain = AgentExecutor.from_agent_and_tools(
54
  # )
55
  def chat(prompt):
56
  res = agent_chain.run(input=prompt)
57
- return res,"ChatHistory" #agent_chain.memory.chat_memory.messages
58
 
59
  iface = gr.Interface(
60
  fn=chat,
 
54
  # )
55
  def chat(prompt):
56
  res = agent_chain.run(input=prompt)
57
+ return res,agent_chain.memory.chat_memory.messages
58
 
59
  iface = gr.Interface(
60
  fn=chat,