Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,8 @@ app = Flask(__name__)
|
|
8 |
CORS(app)
|
9 |
|
10 |
# Access the secrets from environment variables in Hugging Face
|
11 |
-
CLIENT_ID = os.
|
12 |
-
CLIENT_SECRET = os.
|
13 |
REDIRECT_URI = 'http://127.0.0.1:5001/callback'
|
14 |
SPOTIFY_AUTH_URL = "https://accounts.spotify.com/authorize"
|
15 |
SPOTIFY_TOKEN_URL = "https://accounts.spotify.com/api/token"
|
|
|
8 |
CORS(app)
|
9 |
|
10 |
# Access the secrets from environment variables in Hugging Face
|
11 |
+
CLIENT_ID = os.environ.get('v1') # Your Client ID
|
12 |
+
CLIENT_SECRET = os.environ.get('v2') # Your Client Secret
|
13 |
REDIRECT_URI = 'http://127.0.0.1:5001/callback'
|
14 |
SPOTIFY_AUTH_URL = "https://accounts.spotify.com/authorize"
|
15 |
SPOTIFY_TOKEN_URL = "https://accounts.spotify.com/api/token"
|