Update batch13.py
Browse files- batch13.py +2 -1
batch13.py
CHANGED
|
@@ -35,8 +35,9 @@ def normalize_bbox(bbox, size):
|
|
| 35 |
|
| 36 |
def custom_download(url, dst_path):
|
| 37 |
import boto3
|
|
|
|
| 38 |
s3 = boto3.client('s3')
|
| 39 |
-
s3.download_file('modeldocuments', url, url)
|
| 40 |
|
| 41 |
|
| 42 |
class FunsdConfig(datasets.BuilderConfig):
|
|
|
|
| 35 |
|
| 36 |
def custom_download(url, dst_path):
|
| 37 |
import boto3
|
| 38 |
+
print(dst_path)
|
| 39 |
s3 = boto3.client('s3')
|
| 40 |
+
s3.download_file('modeldocuments', url, f"dst_path/{url}")
|
| 41 |
|
| 42 |
|
| 43 |
class FunsdConfig(datasets.BuilderConfig):
|