jamescalam
commited on
Commit
•
51e9f8c
1
Parent(s):
0a7033a
Update image-text-demo.py
Browse files- image-text-demo.py +1 -1
image-text-demo.py
CHANGED
@@ -36,7 +36,7 @@ class ImageSet(datasets.GeneratorBasedBuilder):
|
|
36 |
)
|
37 |
|
38 |
def _split_generators(self, dl_manager):
|
39 |
-
images_path = dl_manager.
|
40 |
image_iters = dl_manager.iter_archive(f"{images_path}/images")
|
41 |
return [
|
42 |
datasets.SplitGenerator(
|
|
|
36 |
)
|
37 |
|
38 |
def _split_generators(self, dl_manager):
|
39 |
+
images_path = dl_manager.download(f"{_REPO}/resolve/main/images.tgz")
|
40 |
image_iters = dl_manager.iter_archive(f"{images_path}/images")
|
41 |
return [
|
42 |
datasets.SplitGenerator(
|