palitrajarshi commited on
Commit
b513fcd
1 Parent(s): 4a8bf72

Update pages/ChatterBot.py

Browse files
Files changed (1) hide show
  1. pages/ChatterBot.py +1 -1
pages/ChatterBot.py CHANGED
@@ -17,9 +17,9 @@ st.markdown("<h1 style='text-align: center;'>💻 ChatterBot</h1>", unsafe_allow
17
  st.subheader("How Can I Help You Today? 🤖")
18
 
19
  st.sidebar.title("😎🗝️")
20
- st.sidebar.image('./chatbot.jpg',width=300, use_column_width=True)
21
  st.session_state['API_Key']= st.sidebar.text_input("What's your API key?",type="password")
22
  summarise_button = st.sidebar.button("Summarise the conversation", key="summarise")
 
23
  if summarise_button:
24
  summarise_placeholder = st.sidebar.write("Nice chatting with you my friend ❤️:\n\n"+st.session_state['conversation'].memory.buffer)
25
  #summarise_placeholder.write("Nice chatting with you my friend ❤️:\n\n"+st.session_state['conversation'].memory.buffer)
 
17
  st.subheader("How Can I Help You Today? 🤖")
18
 
19
  st.sidebar.title("😎🗝️")
 
20
  st.session_state['API_Key']= st.sidebar.text_input("What's your API key?",type="password")
21
  summarise_button = st.sidebar.button("Summarise the conversation", key="summarise")
22
+ st.sidebar.image('./chatbot.jpg',width=300, use_column_width=True)
23
  if summarise_button:
24
  summarise_placeholder = st.sidebar.write("Nice chatting with you my friend ❤️:\n\n"+st.session_state['conversation'].memory.buffer)
25
  #summarise_placeholder.write("Nice chatting with you my friend ❤️:\n\n"+st.session_state['conversation'].memory.buffer)