DiGyt commited on
Commit
c202e36
1 Parent(s): d796a3a

added param names

Browse files
Files changed (1) hide show
  1. ecoset.py +1 -1
ecoset.py CHANGED
@@ -163,7 +163,7 @@ class Ecoset(datasets.GeneratorBasedBuilder):
163
  s3 = boto3.client(urlinfo.scheme, config=Config(signature_version=UNSIGNED))
164
  object_size = s3.head_object()["ContentLength"]
165
  with tqdm.tqdm(total=object_size, unit="B", unit_scale=True, desc=filename) as pbar:
166
- s3.download_file(urlinfo.netloc, urlinfo.path[1:], zip_path,
167
  Callback=lambda bytes_transferred: pbar.update(bytes_transferred))
168
  # unzip using platform-based subprocess
169
  if platform.system() in ("Linux", "Darwin"):
 
163
  s3 = boto3.client(urlinfo.scheme, config=Config(signature_version=UNSIGNED))
164
  object_size = s3.head_object()["ContentLength"]
165
  with tqdm.tqdm(total=object_size, unit="B", unit_scale=True, desc=filename) as pbar:
166
+ s3.download_file(Bucket=urlinfo.netloc, Key=urlinfo.path[1:], Filename=zip_path,
167
  Callback=lambda bytes_transferred: pbar.update(bytes_transferred))
168
  # unzip using platform-based subprocess
169
  if platform.system() in ("Linux", "Darwin"):