Add1E commited on
Commit
548c423
·
1 Parent(s): ea492b0

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +4 -2
utils.py CHANGED
@@ -10,8 +10,10 @@ import os
10
  tqdm.pandas()
11
 
12
  # Authentifizierung (stellen Sie sicher, dass Ihr Hugging Face Token gesetzt ist)
13
- api = HfApi()
14
- token = api.login(os.getenv("login"), os.getenv("passwort"))
 
 
15
 
16
  # Erstellen oder Klonen Sie ein Repository (wenn noch nicht vorhanden)
17
  repo = Repository(local_dir="SpotifyHitPrediction", clone_from="Add1E/SpotifyHitPrediction")
 
10
  tqdm.pandas()
11
 
12
  # Authentifizierung (stellen Sie sicher, dass Ihr Hugging Face Token gesetzt ist)
13
+ api = HfApi(
14
+ endpoint="https://huggingface.co/spaces/Add1E/SpotifyHitPrediction"
15
+ token=os.getenv("token")
16
+ )
17
 
18
  # Erstellen oder Klonen Sie ein Repository (wenn noch nicht vorhanden)
19
  repo = Repository(local_dir="SpotifyHitPrediction", clone_from="Add1E/SpotifyHitPrediction")