Default to us-west-1 when downloading from s3://openpi-assets
This commit is contained in:
@@ -81,6 +81,9 @@ def maybe_download(url: str, **kwargs) -> pathlib.Path:
|
|||||||
_download_boto3(
|
_download_boto3(
|
||||||
url,
|
url,
|
||||||
scratch_path,
|
scratch_path,
|
||||||
|
boto_session=boto3.Session(
|
||||||
|
region_name="us-west-1",
|
||||||
|
),
|
||||||
botocore_config=botocore.config.Config(signature_version=botocore.UNSIGNED),
|
botocore_config=botocore.config.Config(signature_version=botocore.UNSIGNED),
|
||||||
)
|
)
|
||||||
elif url.startswith("s3://"):
|
elif url.startswith("s3://"):
|
||||||
|
|||||||
Reference in New Issue
Block a user