Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def extract_track_id_from_url(url):
|
|
43 |
def app():
|
44 |
|
45 |
# Step 1: User Authorization
|
46 |
-
if st.session_state.get('code') is None or
|
47 |
auth_params = {
|
48 |
'client_id': CLIENT_ID,
|
49 |
'response_type': 'code',
|
|
|
43 |
def app():
|
44 |
|
45 |
# Step 1: User Authorization
|
46 |
+
if st.session_state.get('code') is None or 'first_time_load' not in st.session_state:
|
47 |
auth_params = {
|
48 |
'client_id': CLIENT_ID,
|
49 |
'response_type': 'code',
|