Spaces:
Running
Running
| title: Hugging Science Feedback API | |
| emoji: π¬ | |
| colorFrom: gray | |
| colorTo: gray | |
| sdk: docker | |
| pinned: false | |
| # Hugging Science Feedback API | |
| Minimal FastAPI service that accepts feedback submissions from huggingscience.co | |
| and appends them to the [hugging-science/feedback](https://huggingface.co/datasets/hugging-science/feedback) dataset. | |
| ## Setup | |
| Add a Space secret named `HF_TOKEN` with a write-scoped token for the `hugging-science` org. | |
| ## Endpoints | |
| - `GET /` β health check | |
| - `POST /submit` β submit a feedback entry | |
| ## Payload | |
| ```json | |
| { | |
| "type": "dataset | model | challenge | feedback", | |
| "title": "Optional name or link", | |
| "description": "Required β what should be added and why?", | |
| "submitted_at": "2026-04-13T10:00:00Z", | |
| "source": "huggingscience.co" | |
| } | |
| ``` | |