Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -131,7 +131,8 @@ def app():
|
|
| 131 |
|
| 132 |
|
| 133 |
if 'code' not in st.session_state:
|
| 134 |
-
|
| 135 |
-
|
|
|
|
| 136 |
|
| 137 |
app()
|
|
|
|
| 131 |
|
| 132 |
|
| 133 |
if 'code' not in st.session_state:
|
| 134 |
+
if st.session_state.get('code') is not None:
|
| 135 |
+
query_params = st.experimental_get_query_params()
|
| 136 |
+
st.session_state['code'] = query_params.get('code', [None])[0]
|
| 137 |
|
| 138 |
app()
|