Spaces:
Runtime error
Runtime error
Update app_utils.py
Browse files- app_utils.py +1 -1
app_utils.py
CHANGED
|
@@ -51,7 +51,7 @@ def new_get_client(session):
|
|
| 51 |
if not auth_manager.validate_token(cache_handler.get_cached_token()):
|
| 52 |
# Step 1. Display sign in link when no token
|
| 53 |
auth_url = auth_manager.get_authorize_url()
|
| 54 |
-
|
| 55 |
login = centered_button(st.button, 'Log in', n_columns=5)
|
| 56 |
print('Here6')
|
| 57 |
if login:
|
|
|
|
| 51 |
if not auth_manager.validate_token(cache_handler.get_cached_token()):
|
| 52 |
# Step 1. Display sign in link when no token
|
| 53 |
auth_url = auth_manager.get_authorize_url()
|
| 54 |
+
st.markdown(f'[Click here to log in]({auth_url})', unsafe_allow_html=True)
|
| 55 |
login = centered_button(st.button, 'Log in', n_columns=5)
|
| 56 |
print('Here6')
|
| 57 |
if login:
|