mister-g commited on
Commit
50cdfca
1 Parent(s): 3d0d6da

start with empty chat

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def init():
19
  if "conversation" not in st.session_state:
20
  st.session_state.conversation = None
21
  if "chat_history" not in st.session_state:
22
- st.session_state.chat_history = None
23
 
24
  def init_llm_pipeline(model_id):
25
  if "llm" not in st.session_state:
 
19
  if "conversation" not in st.session_state:
20
  st.session_state.conversation = None
21
  if "chat_history" not in st.session_state:
22
+ st.session_state.chat_history = []
23
 
24
  def init_llm_pipeline(model_id):
25
  if "llm" not in st.session_state: