Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jingyangcarl
/
matgen
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
f6a3903
matgen
/
push_dataset.py
jingyangcarl
include upate code
5e0bb40
about 1 month ago
raw
Copy download link
history
blame
Safe
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
)