ktongue/docker_container / SGAE /upload_diag.py
download
raw
395 Bytes
from huggingface_hub import HfApi, CommitOperationAdd
api = HfApi(token="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")
operations = [
CommitOperationAdd(path_in_repo="public/diag.php", path_or_fileobj="/root/SGAE/public/diag.php"),
]
api.create_commit(
repo_id="ktongue/sgae-app",
repo_type="space",
operations=operations,
commit_message="Add diagnostic page",
)
print("Done!")

Xet Storage Details

Size:
395 Bytes
·
Xet hash:
87cc453e32a452d55af9299082858a617098651045603c88ece25d691e70769f

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