MuGeminorum commited on
Commit
901bfee
1 Parent(s): 36ba2bb

replace with new zip

Browse files
data/{data.zip → genre_data.zip} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7484d529402647aaff937494e3254bb4a46ef2f95ef4804e3ab9d5e6566a5b0b
3
- size 4358927179
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ff45af1ea01283d3b0ef7ef3160547a9d7c27583d7ff0956bd98dd7681765f1
3
+ size 4429028722
music_genre.py CHANGED
@@ -54,8 +54,7 @@ _CITATION = """\
54
  """
55
 
56
  _DESCRIPTION = """\
57
- This database contains about 1700 musical pieces (.mp3 format)
58
- with lengths of 270-300s that are divided into 17 genres in total.
59
  """
60
 
61
 
@@ -90,9 +89,9 @@ class music_genre(datasets.GeneratorBasedBuilder):
90
  try:
91
  # easy for local test
92
  with socket.create_connection((ip, port), timeout=5):
93
- return f'http://{ip}/{_NAME}/data/data.zip'
94
  except (socket.timeout, socket.error):
95
- return f"{_HOMEPAGE}/resolve/main/data/data.zip"
96
 
97
  def _split_generators(self, dl_manager):
98
  data_files = dl_manager.download_and_extract(self._cdn_url())
 
54
  """
55
 
56
  _DESCRIPTION = """\
57
+ This database contains about 1700 musical pieces (.mp3 format) with lengths of 270-300s that are divided into 17 genres in total.
 
58
  """
59
 
60
 
 
89
  try:
90
  # easy for local test
91
  with socket.create_connection((ip, port), timeout=5):
92
+ return f'http://{ip}/{_NAME}/data/genre_data.zip'
93
  except (socket.timeout, socket.error):
94
+ return f"{_HOMEPAGE}/resolve/main/data/genre_data.zip"
95
 
96
  def _split_generators(self, dl_manager):
97
  data_files = dl_manager.download_and_extract(self._cdn_url())