Spaces:
Runtime error
Runtime error
Fix token =
#2
by
osanseviero
- opened
app.py
CHANGED
@@ -11,7 +11,7 @@ auth_token = os.environ.get("TOKEN_FROM_SECRET") or True
|
|
11 |
corpus_embeddings = pickle.load(open(hf_hub_download("NimaBoscarino/playlist-generator", repo_type="dataset", filename="verse-embeddings.pkl"), "rb"))
|
12 |
songs = pd.read_csv(hf_hub_download("NimaBoscarino/playlist-generator", repo_type="dataset", filename="songs_new.csv"))
|
13 |
verses = pd.read_csv(hf_hub_download("NimaBoscarino/playlist-generator", repo_type="dataset", filename="verses.csv"))
|
14 |
-
lyrics = pd.read_csv(hf_hub_download("NimaBoscarino/playlist-generator-private", repo_type="dataset", filename="lyrics_new.csv", use_auth_token=
|
15 |
|
16 |
embedder = SentenceTransformer('msmarco-MiniLM-L-6-v3')
|
17 |
|
|
|
11 |
corpus_embeddings = pickle.load(open(hf_hub_download("NimaBoscarino/playlist-generator", repo_type="dataset", filename="verse-embeddings.pkl"), "rb"))
|
12 |
songs = pd.read_csv(hf_hub_download("NimaBoscarino/playlist-generator", repo_type="dataset", filename="songs_new.csv"))
|
13 |
verses = pd.read_csv(hf_hub_download("NimaBoscarino/playlist-generator", repo_type="dataset", filename="verses.csv"))
|
14 |
+
lyrics = pd.read_csv(hf_hub_download("NimaBoscarino/playlist-generator-private", repo_type="dataset", filename="lyrics_new.csv", use_auth_token=auth_token))
|
15 |
|
16 |
embedder = SentenceTransformer('msmarco-MiniLM-L-6-v3')
|
17 |
|