nitind1 commited on
Commit
3277fe6
·
verified ·
1 Parent(s): 60cf42e

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -624,7 +624,7 @@ def haspit_search_streamlit():
624
  if filtered_result in ["safe", "unsafe S6", "unsafe S7"]:
625
  try:
626
  if 'chatbot' not in st.session_state:
627
- st.session_state.chatbot = SemanticBot()
628
  response = st.session_state.chatbot.handle_customer_query(user_query)
629
  st.write(response)
630
  st.session_state.chat_history.append({"role": "assistant", "content": response})
 
624
  if filtered_result in ["safe", "unsafe S6", "unsafe S7"]:
625
  try:
626
  if 'chatbot' not in st.session_state:
627
+ st.session_state.chatbot = HaspitBot()
628
  response = st.session_state.chatbot.handle_customer_query(user_query)
629
  st.write(response)
630
  st.session_state.chat_history.append({"role": "assistant", "content": response})