copilot renamed unforch
Browse files- handler.py +2 -2
handler.py
CHANGED
@@ -32,10 +32,10 @@ class EndpointHandler:
|
|
32 |
|
33 |
# load the lyrics embeddings
|
34 |
self.lyric_embeddings = np.load(
|
35 |
-
os.path.join(path, "
|
36 |
)
|
37 |
# load the song info
|
38 |
-
self.song_info = pd.read_csv(os.path.join(path, "
|
39 |
|
40 |
def __call__(self, data: Dict[str, Any]) -> List[float]:
|
41 |
"""
|
|
|
32 |
|
33 |
# load the lyrics embeddings
|
34 |
self.lyric_embeddings = np.load(
|
35 |
+
os.path.join(path, "clip_lyric_normal_embeddings.npy"), allow_pickle=True
|
36 |
)
|
37 |
# load the song info
|
38 |
+
self.song_info = pd.read_csv(os.path.join(path, "en_song_info.csv"))
|
39 |
|
40 |
def __call__(self, data: Dict[str, Any]) -> List[float]:
|
41 |
"""
|