ethanrom commited on
Commit
3ba2d0e
1 Parent(s): de4ad29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -54,6 +54,9 @@ def tab4():
54
  st.write(answer)
55
  st.write(unique_metadata_list)
56
 
 
 
 
57
 
58
  def main():
59
  st.set_page_config(page_title="CIMA Chat", page_icon=":memo:", layout="wide")
 
54
  st.write(answer)
55
  st.write(unique_metadata_list)
56
 
57
+ if st.sidebar.button("Clear Chat History"):
58
+ msgs.clear()
59
+
60
 
61
  def main():
62
  st.set_page_config(page_title="CIMA Chat", page_icon=":memo:", layout="wide")