zeio commited on
Commit
1eeaaad
1 Parent(s): 5ad4eba

fix(loader): updated spoken data url

Browse files
Files changed (1) hide show
  1. batch.py +3 -2
batch.py CHANGED
@@ -14,7 +14,8 @@ _LICENSE = 'Apache License Version 2.0'
14
  _CLUSTER = '{first_page:04d}-{last_page:04d}'
15
  _URLS = {
16
  'written': 'https://huggingface.co/datasets/zeio/batch/resolve/main/threads-compressed/{cluster}.tar.xz',
17
- 'spoken': 'https://huggingface.co/datasets/zeio/batch-speech/raw/main/threads-compressed/{cluster}.tar.xz'
 
18
  }
19
  _INDEX = 'https://huggingface.co/datasets/zeio/batch/resolve/main/index.tsv'
20
 
@@ -103,7 +104,7 @@ class Batch(GeneratorBasedBuilder):
103
 
104
  # print(clusters)
105
  # print(index)
106
- print(spoken)
107
 
108
  return [
109
  SplitGenerator(
 
14
  _CLUSTER = '{first_page:04d}-{last_page:04d}'
15
  _URLS = {
16
  'written': 'https://huggingface.co/datasets/zeio/batch/resolve/main/threads-compressed/{cluster}.tar.xz',
17
+ # 'spoken': 'https://huggingface.co/datasets/zeio/batch-speech/raw/main/threads-compressed/{cluster}.tar.xz'
18
+ 'spoken': 'https://huggingface.co/datasets/zeio/batch-speech/resolve/main/threads-compressed/{cluster}.tar.xz'
19
  }
20
  _INDEX = 'https://huggingface.co/datasets/zeio/batch/resolve/main/index.tsv'
21
 
 
104
 
105
  # print(clusters)
106
  # print(index)
107
+ # print(spoken)
108
 
109
  return [
110
  SplitGenerator(