Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
michaelj
/
testlcm
like
4
Running
App
Files
Files
Community
f245a54
testlcm
/
upload.py
michaelj
Upload folder using huggingface_hub
db5acaf
about 1 year 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"
,
)