freddyaboulton/fasthtml-todos
0
FastHTML on ๐ค Spaces
Deploy a FastHTML application to HuggingFace Spaces for free with one command!
Quickstart
- Create a free account on HuggingFace
- Go to your account settings and create an access token with write access. Keep this token safe and don't share it.
- Install the huggingface hub client library (
pip install huggingface-hub). - Run the
depoy_hf.pyscript and pass the name you want to give your space along with your token, e.g.python deploy_hf.py fasthtml-todos <token>.
By default this will upload a public space. You can make it private with the --private flag.
Configuration
The space will upload a backup of your database to a HuggingFace Dataset. By default it will be private and its name will be <your-huggingface-id>/todos-backup. You can change this behavior in the config.py file.
