File size: 332 Bytes
3a3c68a
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
from huggingface_hub import HfApi
api = HfApi()

# Upload all the content from the local folder to your remote Space.
# By default, files are uploaded at the root of the repo
api.upload_folder(
    folder_path="./",
    repo_id="SilentSpeak/lipnet",
    repo_type="model",
    ignore_patterns=open('.gitignore').read().split('\n')
)