Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
utils.py
CHANGED
@@ -17,7 +17,7 @@ if token is None:
|
|
17 |
raise ValueError("Hugging Face API-Token ist nicht gesetzt.")
|
18 |
|
19 |
# Klonen Sie das Repository (dies wird in Ihrem Space ausgeführt)
|
20 |
-
repo = Repository(local_dir="SpotifyHitPrediction", clone_from="Add1E/SpotifyHitPrediction", use_auth_token=token)
|
21 |
|
22 |
def predict_popularity(features, trainset):
|
23 |
predictions = [None] * 2
|
|
|
17 |
raise ValueError("Hugging Face API-Token ist nicht gesetzt.")
|
18 |
|
19 |
# Klonen Sie das Repository (dies wird in Ihrem Space ausgeführt)
|
20 |
+
repo = Repository(local_dir="SpotifyHitPrediction", clone_from="https://huggingface.co/Add1E/SpotifyHitPrediction", use_auth_token=token)
|
21 |
|
22 |
def predict_popularity(features, trainset):
|
23 |
predictions = [None] * 2
|