Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
michaelj
/
testlcm
like
4
Sleeping
App
Files
Files
Community
fe2ff35
testlcm
/
upload.py
michaelj
Upload folder using huggingface_hub
db5acaf
12 months ago
raw
Copy download link
history
blame
Safe
169 Bytes
from
huggingface_hub
import
HfApi
api = HfApi()
api.upload_folder(
folder_path=
"/workspaces/fastsdcpu/src"
,
repo_id=
"michaelj/testlcm"
,
repo_type=
"space"
,
)