Upload folder using huggingface_hub
Browse files
cord.py
CHANGED
@@ -22,7 +22,7 @@ class Dataset(datasets.GeneratorBasedBuilder):
|
|
22 |
dl_manager.download_config.token = True
|
23 |
dl_manager.download_config.num_proc = 10
|
24 |
|
25 |
-
base_url = "https://huggingface.co/datasets/
|
26 |
train_image_files = dl_manager.download_and_extract(
|
27 |
f"{base_url}/train/train.tar.gz"
|
28 |
)
|
|
|
22 |
dl_manager.download_config.token = True
|
23 |
dl_manager.download_config.num_proc = 10
|
24 |
|
25 |
+
base_url = "https://huggingface.co/datasets/liuylhf/ocr/resolve/main/data"
|
26 |
train_image_files = dl_manager.download_and_extract(
|
27 |
f"{base_url}/train/train.tar.gz"
|
28 |
)
|