Update rvl_cdip_n_mp.py
Browse files- rvl_cdip_n_mp.py +2 -0
rvl_cdip_n_mp.py
CHANGED
@@ -143,6 +143,8 @@ class RvlCdipNMp(datasets.GeneratorBasedBuilder):
|
|
143 |
# batched_conversion(path)
|
144 |
else:
|
145 |
file = path
|
|
|
|
|
146 |
|
147 |
a = dict(
|
148 |
id=path.name,
|
|
|
143 |
# batched_conversion(path)
|
144 |
else:
|
145 |
file = path
|
146 |
+
else:
|
147 |
+
file = file.read()
|
148 |
|
149 |
a = dict(
|
150 |
id=path.name,
|