captain-awesome commited on
Commit
0f7c92d
1 Parent(s): 649c1e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -128,7 +128,8 @@ def main():
128
  st.write(end - start)
129
 
130
  st.write("Bot Response:")
131
- st.write(agent.invoke(query, config={"callbacks":[ConsoleCallbackHandler()]}))
 
132
  # st.write(response)
133
 
134
 
 
128
  st.write(end - start)
129
 
130
  st.write("Bot Response:")
131
+ # st.write(agent.invoke(query, config={"callbacks":[ConsoleCallbackHandler()]}))
132
+ st.write(agent.run({"input": query}
133
  # st.write(response)
134
 
135