shivam11 commited on
Commit
e054530
·
verified ·
1 Parent(s): 64a93e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -83,6 +83,9 @@ response = chat_session.send_message("INSERT_INPUT_HERE")
83
 
84
  print(response.text)
85
 
 
 
 
86
 
87
  def main():
88
  st.set_page_config(
 
83
 
84
  print(response.text)
85
 
86
+ def clear_chat_history():
87
+ st.session_state.messages = [
88
+ {"role": "assistant", "content": "upload some pdfs and ask me a question"}]
89
 
90
  def main():
91
  st.set_page_config(