minhdang14902 commited on
Commit
883178b
·
verified ·
1 Parent(s): 1c70ca6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -494,7 +494,7 @@ def qa_dict():
494
  return qa_dict
495
  qa_dict = qa_dict()
496
 
497
- st.title("General Law Chatbot")
498
 
499
  # Khởi tạo lịch sử tin nhắn
500
  if "messages" not in st.session_state:
@@ -525,4 +525,4 @@ if prompt := st.chat_input("What is up?"):
525
  st.markdown(response)
526
 
527
  # Thêm câu trả lời của bot vào lịch sử
528
- st.session_state.messages.append({"role": "assistant", "content": response})
 
494
  return qa_dict
495
  qa_dict = qa_dict()
496
 
497
+ st.title("General Edu Chatbot")
498
 
499
  # Khởi tạo lịch sử tin nhắn
500
  if "messages" not in st.session_state:
 
525
  st.markdown(response)
526
 
527
  # Thêm câu trả lời của bot vào lịch sử
528
+ st.session_state.messages.append({"role": "assistant", "content": response})