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