gabruarya commited on
Commit
de7a34f
Β·
verified Β·
1 Parent(s): 7347138

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -143,7 +143,7 @@ def on_input_change():
143
  llm_response = response['answer']
144
  st.session_state.generated.append({"type": "normal", "data": f"The message from Bot\nWith new line\n{user_input}"})
145
  st.session_state.history.append(Message("πŸ‘€ Human", user_input))
146
- st.session_state.history.append(Message("πŸ‘¨πŸ»β€βš–οΈ Ai", llm_response"))
147
 
148
  def on_btn_click():
149
  del st.session_state.past[:]
 
143
  llm_response = response['answer']
144
  st.session_state.generated.append({"type": "normal", "data": f"The message from Bot\nWith new line\n{user_input}"})
145
  st.session_state.history.append(Message("πŸ‘€ Human", user_input))
146
+ st.session_state.history.append(Message("πŸ‘¨πŸ»β€βš–οΈ Ai", llm_response))
147
 
148
  def on_btn_click():
149
  del st.session_state.past[:]