nthngdy commited on
Commit
d165ac4
·
1 Parent(s): 4ce79c2

Update ccnews_split.py

Browse files
Files changed (1) hide show
  1. ccnews_split.py +1 -1
ccnews_split.py CHANGED
@@ -24,7 +24,7 @@ from fnmatch import fnmatch
24
  import datasets
25
 
26
 
27
- def custom_iter_archive(archive):
28
  def _iter_archive(f):
29
  stream = tarfile.open(fileobj=f, mode="r|*")
30
  print(stream)
 
24
  import datasets
25
 
26
 
27
+ def custom_iter_archive(path_or_buf):
28
  def _iter_archive(f):
29
  stream = tarfile.open(fileobj=f, mode="r|*")
30
  print(stream)