ktongue/docker_container / SGAE /upload_env.py
download
raw
298 Bytes
from huggingface_hub import HfApi
api = HfApi(token="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")
api.upload_file(
path_or_fileobj="/root/SGAE/.env",
path_in_repo=".env",
repo_id="ktongue/sgae-app",
repo_type="space",
commit_message="Enable debug mode temporarily",
)
print("Done")

Xet Storage Details

Size:
298 Bytes
·
Xet hash:
7dc8bd6ba60f45aeaf20d53499db0a793d85e3a7004dc6c7607cf6496f85bdd1

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