from huggingface_hub import HfApi api = HfApi() api.upload_folder( folder_path="/mnt/data/xiuying/Code", repo_id="Wangtwohappy/T4_code", repo_type="model" )