Update rvl_cdip_n_mp.py
Browse files- rvl_cdip_n_mp.py +1 -1
rvl_cdip_n_mp.py
CHANGED
@@ -161,8 +161,8 @@ class RvlCdipNMp(datasets.GeneratorBasedBuilder):
|
|
161 |
for i, path in tqdm(enumerate(iterator), desc=f"{archive_path}"):
|
162 |
file = None
|
163 |
if isinstance(path, tuple):
|
164 |
-
path = path[0]
|
165 |
file = path[1]
|
|
|
166 |
try:
|
167 |
yield self.generate_example(path, file=file)
|
168 |
except Exception as e:
|
|
|
161 |
for i, path in tqdm(enumerate(iterator), desc=f"{archive_path}"):
|
162 |
file = None
|
163 |
if isinstance(path, tuple):
|
|
|
164 |
file = path[1]
|
165 |
+
path = path[0]
|
166 |
try:
|
167 |
yield self.generate_example(path, file=file)
|
168 |
except Exception as e:
|