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