Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ def app():
|
|
| 50 |
'redirect_uri': REDIRECT_URI,
|
| 51 |
'scope': 'user-read-private', # Modify as per your required scopes
|
| 52 |
}
|
| 53 |
-
st.session_state['first_time_load'] =
|
| 54 |
st.write('Please log in to Spotify')
|
| 55 |
st.markdown(f"[Log In]({AUTH_URL}?{urlencode(auth_params)})", unsafe_allow_html=True)
|
| 56 |
else:#
|
|
|
|
| 50 |
'redirect_uri': REDIRECT_URI,
|
| 51 |
'scope': 'user-read-private', # Modify as per your required scopes
|
| 52 |
}
|
| 53 |
+
st.session_state['first_time_load'] = 1
|
| 54 |
st.write('Please log in to Spotify')
|
| 55 |
st.markdown(f"[Log In]({AUTH_URL}?{urlencode(auth_params)})", unsafe_allow_html=True)
|
| 56 |
else:#
|