Spaces:
Sleeping
Sleeping
Commit
·
9488825
1
Parent(s):
b7b4c2d
Update app.py
Browse files
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({})
|
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,
|