Spaces:
Sleeping
Sleeping
fbottarelli
commited on
Commit
•
a5f1e9f
1
Parent(s):
95b1f99
Add application file
Browse files
app.py
CHANGED
@@ -5,10 +5,8 @@ import pandas as pd
|
|
5 |
import matplotlib.pyplot as plt
|
6 |
import os
|
7 |
|
8 |
-
from dotenv import load_dotenv
|
9 |
|
10 |
# Carica le credenziali di Spotify
|
11 |
-
load_dotenv()
|
12 |
SPOTIPY_CLIENT_ID = os.getenv("SPOTIPY_CLIENT_ID")
|
13 |
SPOTIPY_CLIENT_SECRET = os.getenv("SPOTIPY_CLIENT_SECRET")
|
14 |
auth_manager = SpotifyClientCredentials(client_id=SPOTIPY_CLIENT_ID, client_secret=SPOTIPY_CLIENT_SECRET)
|
|
|
5 |
import matplotlib.pyplot as plt
|
6 |
import os
|
7 |
|
|
|
8 |
|
9 |
# Carica le credenziali di Spotify
|
|
|
10 |
SPOTIPY_CLIENT_ID = os.getenv("SPOTIPY_CLIENT_ID")
|
11 |
SPOTIPY_CLIENT_SECRET = os.getenv("SPOTIPY_CLIENT_SECRET")
|
12 |
auth_manager = SpotifyClientCredentials(client_id=SPOTIPY_CLIENT_ID, client_secret=SPOTIPY_CLIENT_SECRET)
|