Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix loader #25

Merged
merged 2 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion giza/datasets/loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ class DatasetsLoader:
"""

def __init__(self, use_cache=True, cache_dir=None):
self.fs = gcsfs.GCSFileSystem(verify=False)
# Token is set to "anon" to allow anonymous access to GCS as bucket should be public
self.fs = gcsfs.GCSFileSystem(verify=False, token="anon")
self.dataset_hub = DATASET_HUB
self.use_cache = use_cache
self.cache_dir = (
Expand Down
Loading
Loading