remg1997 commited on
Commit
8fd77c3
1 Parent(s): 9617a86

return to previous script

Browse files
peoples_speech.py CHANGED
@@ -110,7 +110,7 @@ class PeoplesSpeech(datasets.GeneratorBasedBuilder):
110
  n_files_path = dl_manager.download_and_extract(n_files_url)
111
 
112
  with open(n_files_path, encoding="utf-8") as f:
113
- return int(float(f.read().strip()))
114
 
115
  def _split_generators(self, dl_manager):
116
 
 
110
  n_files_path = dl_manager.download_and_extract(n_files_url)
111
 
112
  with open(n_files_path, encoding="utf-8") as f:
113
+ return int(f.read().strip())
114
 
115
  def _split_generators(self, dl_manager):
116
 
test/test/n_files.txt CHANGED
@@ -1,2 +1 @@
1
- version https://git-lfs.github.com/spec/v1
2
- size 42
 
1
+ 42
 
validation/validation/n_files.txt CHANGED
@@ -1,2 +1 @@
1
- version https://git-lfs.github.com/spec/v1
2
- size 24
 
1
+ 24