Commit
·
76647c4
1
Parent(s):
eb6a528
Update certificate-test.py
Browse files- certificate-test.py +2 -2
certificate-test.py
CHANGED
|
@@ -47,7 +47,7 @@ def _get_drive_url(url):
|
|
| 47 |
|
| 48 |
_URLS = [
|
| 49 |
_get_drive_url(
|
| 50 |
-
"https://drive.google.com/file/d/
|
| 51 |
]
|
| 52 |
|
| 53 |
|
|
@@ -95,7 +95,7 @@ class Sroie(datasets.GeneratorBasedBuilder):
|
|
| 95 |
"""Uses local files located with data_dir"""
|
| 96 |
downloaded_file = dl_manager.download_and_extract(_URLS)
|
| 97 |
# move files from the second URL together with files from the first one.
|
| 98 |
-
dest = Path(downloaded_file[0])
|
| 99 |
|
| 100 |
return [
|
| 101 |
datasets.SplitGenerator(
|
|
|
|
| 47 |
|
| 48 |
_URLS = [
|
| 49 |
_get_drive_url(
|
| 50 |
+
"https://drive.google.com/file/d/1ZwTDcfUrCifLbSjQtx49K0Wlsx9u75Ak/view?usp=sharing"),
|
| 51 |
]
|
| 52 |
|
| 53 |
|
|
|
|
| 95 |
"""Uses local files located with data_dir"""
|
| 96 |
downloaded_file = dl_manager.download_and_extract(_URLS)
|
| 97 |
# move files from the second URL together with files from the first one.
|
| 98 |
+
dest = Path(downloaded_file[0])/"dataset"
|
| 99 |
|
| 100 |
return [
|
| 101 |
datasets.SplitGenerator(
|