File size: 280 Bytes
d29da97
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from huggingface_hub import HfApi
from dotenv import load_dotenv
load_dotenv()

import os
# Lấy giá trị token
a =input()
api = HfApi(token=a)
print("load")

api.upload_folder(
    folder_path="",
    repo_id="namkuner/Generate_Audio",
    repo_type="model",

)