Spaces:
Runtime error
Runtime error
File size: 578 Bytes
0dde9f1 64a7b70 | 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 | ---
title: AI Code Reviewer
emoji: 🤖
colorFrom: blue
colorTo: green
sdk: docker
sdk_version: "1.0"
app_file: app.py
pinned: false
---
# AI Code Reviewer (FastAPI + Docker)
This Hugging Face Space runs a **pure FastAPI service inside Docker**.
It analyzes Python code using OpenAI GPT models and returns structured JSON reviews.
## Endpoints
- `GET /` → health check
- `POST /review` → review Python code
### Example
```bash
curl -X POST https://YOUR-SPACE-NAME.hf.space/review \
-H "Content-Type: application/json" \
-d '{"code": "print(\"hello world\")"}'
|