Geek7 commited on
Commit
98d2504
·
verified ·
1 Parent(s): 823fa14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ CORS(app)
10
  # Access the secrets from environment variables in Hugging Face
11
  CLIENT_ID = os.getenv('v1') # Your Client ID
12
  CLIENT_SECRET = os.getenv('v2') # Your Client Secret
13
- REDIRECT_URI = 'http://127.0.0.1:5000/callback'
14
  SPOTIFY_AUTH_URL = "https://accounts.spotify.com/authorize"
15
  SPOTIFY_TOKEN_URL = "https://accounts.spotify.com/api/token"
16
  SPOTIFY_API_URL = "https://api.spotify.com/v1"
@@ -53,4 +53,4 @@ def get_podcasts():
53
 
54
  if __name__ == '__main__':
55
  subprocess.Popen(["python", "wk.py"])
56
- app.run(host='0.0.0.0', port=5000)
 
10
  # Access the secrets from environment variables in Hugging Face
11
  CLIENT_ID = os.getenv('v1') # Your Client ID
12
  CLIENT_SECRET = os.getenv('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"
16
  SPOTIFY_API_URL = "https://api.spotify.com/v1"
 
53
 
54
  if __name__ == '__main__':
55
  subprocess.Popen(["python", "wk.py"])
56
+ app.run(host='0.0.0.0', port=5001)