Spaces:
Sleeping
Sleeping
app.py
CHANGED
|
@@ -180,7 +180,7 @@ def main():
|
|
| 180 |
|
| 181 |
if st.button("Logout"):
|
| 182 |
del st.session_state['credentials']
|
| 183 |
-
st.experimental_rerun()
|
| 184 |
|
| 185 |
# Function to handle OAuth callback
|
| 186 |
def handle_callback():
|
|
|
|
| 180 |
|
| 181 |
if st.button("Logout"):
|
| 182 |
del st.session_state['credentials']
|
| 183 |
+
st.rerun() # Changed from st.experimental_rerun() to st.rerun()
|
| 184 |
|
| 185 |
# Function to handle OAuth callback
|
| 186 |
def handle_callback():
|