--- title: Fastai Image Classifier (FastHTML) emoji: 🖼️ colorFrom: blue colorTo: green sdk: docker # Important: Use Docker for custom ASGI apps like FastHTML/FastAPI/Starlette # Optional: Specify python version if needed # python_version: 3.9 app_file: app.py # Specifies the main application file # app_port: 8000 # HF Spaces usually handles port mapping automatically for Docker # suggested_hardware: cpu-basic # Or cpu-upgrade, t4-small etc. if needed --- # Fastai Image Classifier with FastHTML This is a simple web application built with FastHTML that uses a Fastai-trained model to classify uploaded images. **How to use:** 1. Click "Browse..." or drag and drop an image file onto the input area. 2. Click "Classify Image". 3. The prediction and confidence score will appear below. Built with: * [Fastai](https://docs.fast.ai/) * [FastHTML](https://fastht.ml/) * Hosted on [Hugging Face Spaces](https://huggingface.co/spaces)