matgen / push_dataset.py
jingyangcarl's picture
include upate code
5e0bb40
raw
history blame contribute delete
216 Bytes
from huggingface_hub import HfApi
api = HfApi()
api.upload_folder(
folder_path="./examples",
repo_id="jingyangcarl/matgen",
repo_type="space",
path_in_repo="examples", # Upload to a specific folder
)