AI-Checker / readme.md
Pujan-Dev's picture
feat: added files of img classifier and documented
3ca686a
|
raw
history blame
1.03 kB
# πŸš€ FastAPI AI Detector
A production-ready FastAPI app for detecting AI vs. human-written text in English and Nepali. It uses GPT-2 and SentencePiece-based models, with Bearer token security.
## πŸ“‚ Documentation
- [Project Structure](docs/structure.md)
- [API Endpoints](docs/api_endpoints.md)
- [Setup & Installation](docs/setup.md)
- [Deployment](docs/deployment.md)
- [Security](docs/security.md)
- [NestJS Integration](docs/nestjs_integration.md)
- [Core Functions](docs/functions.md)
## ⚑ Quick Start
```bash
uvicorn app:app --host 0.0.0.0 --port 8000
```
## πŸš€ Deployment
- **Local**: Use `uvicorn` as above.
- **Railway/Heroku**: Use the provided `Procfile`.
- **Hugging Face Spaces**: Use the `Dockerfile` for container deployment.
---
## πŸ’‘ Tips
- **Model files auto-download at first start** if not found.
- **Keep `requirements.txt` up-to-date** after adding dependencies.
- **All endpoints require the correct `Authorization` header**.
- **For security**: Avoid committing `.env` to public repos.
---