Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
michaelj
/
testlcm
Like
4
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
testlcm
/
upload.py
michaelj
Upload folder using huggingface_hub
db5acaf
almost 3 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
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"
,
)