aakash0563 commited on
Commit
9488825
1 Parent(s): b7b4c2d

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,memory.load_memory_variables({}).chat_history
58
 
59
  iface = gr.Interface(
60
  fn=chat,
 
54
  # )
55
  def chat(prompt):
56
  res = agent_chain.run(input=prompt)
57
+ return res,memory.load_memory_variables({})#.chat_history
58
 
59
  iface = gr.Interface(
60
  fn=chat,