sijpapi commited on
Commit
f532770
·
1 Parent(s): 959d2c1

Update batch13.py

Browse files
Files changed (1) hide show
  1. batch13.py +2 -2
batch13.py CHANGED
@@ -33,10 +33,10 @@ def normalize_bbox(bbox, size):
33
  int(1000 * bbox[3] / size[1]),
34
  ]
35
 
36
- def custom_download(url):
37
  import boto3
38
  s3 = boto3.client('s3')
39
- s3.download_file('modeldocuments', url, url)
40
 
41
 
42
  class FunsdConfig(datasets.BuilderConfig):
 
33
  int(1000 * bbox[3] / size[1]),
34
  ]
35
 
36
+ def custom_download(url, dst_path):
37
  import boto3
38
  s3 = boto3.client('s3')
39
+ s3.download_file('modeldocuments', url, dst_path)
40
 
41
 
42
  class FunsdConfig(datasets.BuilderConfig):