Spaces:
Configuration error
Configuration error
# --- | |
# title: Space Builder | |
# emoji: 🛠️ | |
# colorFrom: blue | |
# colorTo: green | |
# sdk: gradio | |
# sdk_version: 4.44.0 | |
# app_file: app.py | |
# pinned: false | |
# --- | |
# Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |
# # Space Builder | |
# A Gradio app to create, view, and update Hugging Face Spaces with a custom file structure defined via markdown input. Also allows browsing and editing files directly on a Space. | |
# ## Features | |
# - Create a new Hugging Face Space with a specified file structure. | |
# - Browse files in an existing Space and view/edit their content. | |
# - Update files in a Space with custom commit messages. | |
# - Authenticate using a direct API token or a KeyLock Wallet image. | |
# - Modern Gradio UI with tabs and improved layout. | |
# ## Usage | |
# 1. Authentication: | |
# * Enter your Hugging Face API token (needs 'write' access) directly. | |
# * OR, upload a KeyLock Wallet image and its password to load the HF_TOKEN. | |
# 2. To create a Space: Go to the "Create New Space" tab. Provide space name, owner (optional), SDK, and markdown input for file structure. | |
# 3. To browse and edit files: Go to the "Browse & Edit Space Files" tab. Enter space name and owner, then "Load Files List". Select a file to view/edit its content. |