attn-env / bin /huggingface-cli
ZhengyangZhang's picture
Add files using upload-large-folder tool
351e261 verified
Raw
History Blame Contribute Delete
355 Bytes
#!/storage/openpsi/users/zzy/.zzy-enc-2/bin/python3
# -*- coding: utf-8 -*-
import sys
from huggingface_hub.commands.huggingface_cli import main
if __name__ == "__main__":
if sys.argv[0].endswith("-script.pyw"):
sys.argv[0] = sys.argv[0][:-11]
elif sys.argv[0].endswith(".exe"):
sys.argv[0] = sys.argv[0][:-4]
sys.exit(main())