Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /autonomi-ai_nos /tests /hub /test_hub_hf.py
| import pytest | |
| from nos.logging import logger | |
| def test_hf_login(): | |
| import os | |
| from nos.hub import hf_login | |
| if os.getenv("HUGGINGFACE_HUB_TOKEN", None) is None: | |
| logger.warning("HUGGINGFACE_HUB_TOKEN not set") | |
| pytest.skip("HUGGINGFACE_HUB_TOKEN not set") | |
| tok = hf_login() | |
| assert tok is not None | |
Xet Storage Details
- Size:
- 333 Bytes
- Xet hash:
- 226f833ccf72d64701de9fbc27df4989ab3c018b13c537a869c8652faf625eac
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.