ktongue/docker_container / SGAE /upload_debug.py
download
raw
622 Bytes
from huggingface_hub import HfApi, CommitOperationAdd
api = HfApi(token="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")
repo_id = "ktongue/sgae-app"
operations = [
CommitOperationAdd(path_in_repo="entrypoint.sh", path_or_fileobj="/root/SGAE/entrypoint.sh"),
CommitOperationAdd(path_in_repo=".env", path_or_fileobj="/root/SGAE/.env"),
CommitOperationAdd(path_in_repo="routes/web.php", path_or_fileobj="/root/SGAE/routes/web.php"),
]
api.create_commit(
repo_id=repo_id,
repo_type="space",
operations=operations,
commit_message="Add debug route, stderr logging, improved entrypoint",
)
print("Done!")

Xet Storage Details

Size:
622 Bytes
·
Xet hash:
2e91a88e37d71ab427bd17415ad83e754274f20c717e9bd60e41ea15e0085b7c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.