grantpitt commited on
Commit
492b3d9
·
1 Parent(s): 9217b6d

copilot renamed unforch

Browse files
Files changed (1) hide show
  1. 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, "lyric_embeddings.npy"), allow_pickle=True
36
  )
37
  # load the song info
38
- self.song_info = pd.read_csv(os.path.join(path, "song_info.csv"))
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
  """