Spaces:
Runtime error
Runtime error
|
Download README.md from Ranajit1997/CodeReviewer: direct link, hf CLI and curl.
- Browser
- Download file 578 Bytes
-
https://huggingface.co/spaces/Ranajit1997/CodeReviewer/resolve/main/README.md
- Command line
-
hf download hf://spaces/Ranajit1997/CodeReviewer/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Ranajit1997/CodeReviewer/resolve/main/README.md
578 Bytes
| 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\")"}' | |