Spaces:
Sleeping
Sleeping
update app
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def get_user_id():
|
|
19 |
)
|
20 |
|
21 |
# Capture user_id from the message
|
22 |
-
st.session_state.user_id = st.
|
23 |
|
24 |
return st.session_state.user_id
|
25 |
|
|
|
19 |
)
|
20 |
|
21 |
# Capture user_id from the message
|
22 |
+
st.session_state.user_id = st.query_params().get("user_id", [None])[0]
|
23 |
|
24 |
return st.session_state.user_id
|
25 |
|