1 Commits

Author SHA1 Message Date
Ury Zhilinsky
884a39ebb1 Default to us-west-1 when downloading from s3://openpi-assets 2025-02-05 13:49:24 -08:00

View File

@@ -81,6 +81,9 @@ def maybe_download(url: str, **kwargs) -> pathlib.Path:
_download_boto3(
url,
scratch_path,
boto_session=boto3.Session(
region_name="us-west-1",
),
botocore_config=botocore.config.Config(signature_version=botocore.UNSIGNED),
)
elif url.startswith("s3://"):