Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,6 +19,8 @@ AUTH_URL = f"https://huggingface.co/oauth/authorize?client_id={HF_CLIENT_ID}&red
|
|
| 19 |
|
| 20 |
# ---- Store Code if Present ----
|
| 21 |
query_params = st.experimental_get_query_params()
|
|
|
|
|
|
|
| 22 |
|
| 23 |
if "code" in query_params and "code" not in st.session_state:
|
| 24 |
st.session_state["code"] = query_params["code"][0]
|
|
|
|
| 19 |
|
| 20 |
# ---- Store Code if Present ----
|
| 21 |
query_params = st.experimental_get_query_params()
|
| 22 |
+
print("==============query params====================")
|
| 23 |
+
print(query_params)
|
| 24 |
|
| 25 |
if "code" in query_params and "code" not in st.session_state:
|
| 26 |
st.session_state["code"] = query_params["code"][0]
|