DrishtiSharma commited on
Commit
82c4620
·
verified ·
1 Parent(s): 08d3fb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -88,8 +88,8 @@ if st.button("Submit"):
88
  messages = [HumanMessage(content=user_question)]
89
  response = react_graph.invoke({"messages": messages})
90
 
91
- # Display results step-by-step like the original code
92
- st.subheader("Responses:")
93
  for m in response['messages']:
94
  if hasattr(m, "content") and m.content: # Display human and assistant messages
95
  st.write("**AI Message:**", m.content)
 
88
  messages = [HumanMessage(content=user_question)]
89
  response = react_graph.invoke({"messages": messages})
90
 
91
+ # Display results step-by-step
92
+ st.subheader("Response:")
93
  for m in response['messages']:
94
  if hasattr(m, "content") and m.content: # Display human and assistant messages
95
  st.write("**AI Message:**", m.content)