Buckets:
| from huggingface_hub import HfApi, CommitOperationAdd | |
| api = HfApi(token="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") | |
| operations = [ | |
| CommitOperationAdd(path_in_repo="entrypoint.sh", path_or_fileobj="/root/SGAE/entrypoint.sh"), | |
| ] | |
| api.create_commit( | |
| repo_id="ktongue/sgae-app", | |
| repo_type="space", | |
| operations=operations, | |
| commit_message="Generate .env at runtime in entrypoint", | |
| ) | |
| print("Done!") | |
Xet Storage Details
- Size:
- 410 Bytes
- Xet hash:
- ece1362053af9f34ca290b095baa9d9cd4cec2d9dab7ed847ca4c9cd242b8d8b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.