File size: 1,044 Bytes
e66ab67
a5de9f5
 
 
 
e66ab67
a5de9f5
 
e66ab67
 
 
 
a5de9f5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
title: FastHTML Image classifier
emoji: πŸš€
colorFrom: blue
colorTo: indigo
sdk: docker
sdk_version: "3.11"
app_file: app.py
pinned: false
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

# FastHTML Hello World

A simple Hello World web application using FastHTML and MonsterUI for Hugging Face Spaces.

## Features

- Clean, modern UI with MonsterUI styling
- Simple interactive button using HTMX
- Ready to deploy to Hugging Face Spaces

## Deployment

To deploy this application to Hugging Face Spaces:

1. Create a free account on [Hugging Face](https://huggingface.co)
2. Go to your account settings and create an access token with write access
3. Set the `HF_TOKEN` environment variable to that token
4. Run `fh_hf_deploy <space_name>` replacing `<space_name>` with your desired space name

## Local Development

To run this application locally:

```bash
pip install -r requirements.txt
python app.py
```

Then open your browser to [http://localhost:5001](http://localhost:5001)