menikev commited on
Commit
3fd5c94
·
verified ·
1 Parent(s): 747d33d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -93,9 +93,9 @@ initial_message = f"Hello {lead['name']}, I'd like to discuss our cybersecurity
93
 
94
  if st.button("Start Conversation"):
95
  with st.spinner("AI is generating a response..."):
96
- response = agent_executor({"input": initial_message})
97
  st.write("AI Response:")
98
- st.write(response["output"]) # Adjust this based on the actual output key
99
 
100
  st.sidebar.title("About")
101
  st.sidebar.info("This is a demo of an AI CyberSecurity Program Advisor using an open-source LLM and LangChain. It's designed to engage with leads and attempt to book video calls for sales meetings.")
 
93
 
94
  if st.button("Start Conversation"):
95
  with st.spinner("AI is generating a response..."):
96
+ response = agent_executor.invoke({"input": initial_message})
97
  st.write("AI Response:")
98
+ st.write(response) # Display the full response dictionary
99
 
100
  st.sidebar.title("About")
101
  st.sidebar.info("This is a demo of an AI CyberSecurity Program Advisor using an open-source LLM and LangChain. It's designed to engage with leads and attempt to book video calls for sales meetings.")