DiffusionControl / virgo_root /hf_upload.py
matCercola18's picture
Backup of the upload scripts and logs that lived in the git root on virgo
3f3d396 verified
Raw History Blame Contribute Delete
370 Bytes
from huggingface_hub import HfApi
api = HfApi()
repo = "matCercola18/DiffusionControl"
api.update_repo_settings(repo, private=False)
print("visibility: public", flush=True)
api.upload_large_folder(repo_id=repo, repo_type="model",
folder_path="/home/cercola/matte_server/hf_stage_DiffusionControl", num_workers=4)
print("UPLOAD DONE", flush=True)