Update app.py
Browse files
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(
|