Spaces:
Runtime error
Runtime error
File size: 299 Bytes
7d8b255 2d0e5f1 7d8b255 2d0e5f1 5c68b0e f6cb4eb 7d8b255 2d0e5f1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import os
from huggingface_hub import HfApi
api = HfApi(token=os.environ["sc4sc_token"])
api.upload_large_folder(
folder_path=".",
repo_id="sc4sc/editor",
repo_type="space",
allow_patterns="**/*",
space_sdk="docker",
)
print("✅ Large folder upload completed successfully.")
|