Update ccnews_split.py
Browse files- 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(
|
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)
|