from huggingface_hub import upload_file import os hf_token = os.getenv("HF_TOKEN") # 파일 업로드 upload_file( path_or_fileobj="./temp.py", # 업로드할 파일 경로 path_in_repo="temp.py", # 리포지토리에서의 파일 경로 repo_id="yerang/txt2liveportrait", token=hf_token # Hugging Face 토큰 )