Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,6 +56,8 @@ def login_callback():
|
|
| 56 |
token_url = 'https://huggingface.co/oauth/token'
|
| 57 |
credentials = f"{OAUTH_CLIENT_ID}:{OAUTH_CLIENT_SECRET}"
|
| 58 |
basic_auth_header = base64.b64encode(credentials.encode('utf-8')).decode('utf-8')
|
|
|
|
|
|
|
| 59 |
|
| 60 |
headers = {
|
| 61 |
'Authorization': f'Basic {basic_auth_header}',
|
|
|
|
| 56 |
token_url = 'https://huggingface.co/oauth/token'
|
| 57 |
credentials = f"{OAUTH_CLIENT_ID}:{OAUTH_CLIENT_SECRET}"
|
| 58 |
basic_auth_header = base64.b64encode(credentials.encode('utf-8')).decode('utf-8')
|
| 59 |
+
|
| 60 |
+
print('IM HERE')
|
| 61 |
|
| 62 |
headers = {
|
| 63 |
'Authorization': f'Basic {basic_auth_header}',
|