Spaces:
Runtime error
Runtime error
osanseviero
commited on
Commit
β’
5b73951
1
Parent(s):
21c3f3d
Fix token = (#2)
Browse files- Fix token = (e66e6d4263f458b04b3b94976bc0484454786ef6)
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 |
|