david-oplatka commited on
Commit
7d28805
·
1 Parent(s): be51222

Add Flush statement

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -108,6 +108,7 @@ def launch_bot():
108
  }
109
  )
110
  )
 
111
  st.session_state.log_messages = []
112
  st.session_state.show_logs = False
113
  with st.chat_message("user", avatar='🧑‍💻'):
 
108
  }
109
  )
110
  )
111
+ client.flush() # Send user query to Amplitude Analytics
112
  st.session_state.log_messages = []
113
  st.session_state.show_logs = False
114
  with st.chat_message("user", avatar='🧑‍💻'):