eagle0504 commited on
Commit
04ee2fa
1 Parent(s): 55a97df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -66,11 +66,6 @@ with st.sidebar:
66
  st.success("Example: What are some online links by Yiqiao I can read about?")
67
  st.success("Example: What is Yiqiao's view on stock market?")
68
 
69
- # Add a button to clear the session state
70
- if st.button("Clear Session"):
71
- st.session_state.messages = []
72
- st.experimental_rerun()
73
-
74
  # Consulting
75
  with st.expander("AI Consulting"):
76
  stripe_payment_link_consulting = os.environ["STRIPE_PAYMENT_LINK_CONSULTING"]
@@ -89,6 +84,11 @@ with st.sidebar:
89
  """
90
  )
91
 
 
 
 
 
 
92
  # Credit:
93
  current_year = current_year() # This will print the current year
94
  st.markdown(
 
66
  st.success("Example: What are some online links by Yiqiao I can read about?")
67
  st.success("Example: What is Yiqiao's view on stock market?")
68
 
 
 
 
 
 
69
  # Consulting
70
  with st.expander("AI Consulting"):
71
  stripe_payment_link_consulting = os.environ["STRIPE_PAYMENT_LINK_CONSULTING"]
 
84
  """
85
  )
86
 
87
+ # Add a button to clear the session state
88
+ if st.button("Clear Session"):
89
+ st.session_state.messages = []
90
+ st.experimental_rerun()
91
+
92
  # Credit:
93
  current_year = current_year() # This will print the current year
94
  st.markdown(