Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -108,7 +108,6 @@ To download the images from the urls, you may do something like this:
|
|
108 |
from datasets import load_dataset, DownloadManager, Image
|
109 |
|
110 |
ds = load_dataset("1aurent/unsplash-lite-palette")
|
111 |
-
ds = ds["train"].select(list(range(100)))
|
112 |
|
113 |
def download_image(url: str | list[str], dl_manager: DownloadManager):
|
114 |
filename = dl_manager.download(url)
|
|
|
108 |
from datasets import load_dataset, DownloadManager, Image
|
109 |
|
110 |
ds = load_dataset("1aurent/unsplash-lite-palette")
|
|
|
111 |
|
112 |
def download_image(url: str | list[str], dl_manager: DownloadManager):
|
113 |
filename = dl_manager.download(url)
|