Spaces:
Build error
Build error
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,10 +1,30 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
-
sdk: docker
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Fastai Image Classifier (FastHTML)
|
| 3 |
+
emoji: 🖼️
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: green
|
| 6 |
+
sdk: docker # Important: Use Docker for custom ASGI apps like FastHTML/FastAPI/Starlette
|
| 7 |
+
# Optional: Specify python version if needed
|
| 8 |
+
# python_version: 3.9
|
| 9 |
+
app_file: app.py # Specifies the main application file
|
| 10 |
+
# app_port: 8000 # HF Spaces usually handles port mapping automatically for Docker
|
| 11 |
+
# suggested_hardware: cpu-basic # Or cpu-upgrade, t4-small etc. if needed
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# Fastai Image Classifier with FastHTML
|
| 15 |
+
|
| 16 |
+
This is a simple web application built with FastHTML that uses a Fastai-trained model
|
| 17 |
+
to classify uploaded images.
|
| 18 |
+
|
| 19 |
+
**How to use:**
|
| 20 |
+
|
| 21 |
+
1. Click "Browse..." or drag and drop an image file onto the input area.
|
| 22 |
+
2. Click "Classify Image".
|
| 23 |
+
3. The prediction and confidence score will appear below.
|
| 24 |
+
|
| 25 |
+
Built with:
|
| 26 |
+
* [Fastai](https://docs.fast.ai/)
|
| 27 |
+
* [FastHTML](https://fastht.ml/)
|
| 28 |
+
* Hosted on [Hugging Face Spaces](https://huggingface.co/spaces)
|
| 29 |
+
|
| 30 |
+
<!-- Add any other relevant info about your model or app -->
|