Kabilan108 commited on
Commit
68a9cd1
1 Parent(s): 18a98fe

fix class labels

Browse files
Files changed (1) hide show
  1. spectrograms.py +1 -1
spectrograms.py CHANGED
@@ -19,7 +19,7 @@ This dataset includes spectrograms of ~950 afrobeats songs and 1k rock songs.
19
  The spectrograms were generated with `librosa`.
20
  """
21
 
22
- _NAMES = [fdr.name for fdr in Path("./data").glob("*/")]
23
 
24
  _URLS = {
25
  "afrobeats": "https://huggingface.co/datasets/Kabilan108/spectrograms/resolve/main/data/afrobeats.zip",
 
19
  The spectrograms were generated with `librosa`.
20
  """
21
 
22
+ _NAMES = ["afrobeats", "rock"]
23
 
24
  _URLS = {
25
  "afrobeats": "https://huggingface.co/datasets/Kabilan108/spectrograms/resolve/main/data/afrobeats.zip",