Spaces:
Sleeping
Sleeping
|
Download README.md from vikkyblacq/flask_api: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/spaces/vikkyblacq/flask_api/resolve/main/README.md
- Command line
-
hf download hf://spaces/vikkyblacq/flask_api/README.md
-
curl -L -o README.md https://huggingface.co/spaces/vikkyblacq/flask_api/resolve/main/README.md
1.02 kB
| title: Flask Question Generation API | |
| emoji: π | |
| colorFrom: blue | |
| colorTo: green | |
| sdk: docker | |
| pinned: false | |
| # Flask ML API - Question Generation | |
| AI-powered API for generating educational questions from study content. | |
| ## Features | |
| - π€ **BiGNN Classification** - Classifies sentences for MCQ vs Theory questions | |
| - β¨ **Gemini AI Generation** - Generates 40 MCQs + 20 Theory questions | |
| - π **NLTK Tokenization** - Smart sentence splitting | |
| - β‘ **Fast Processing** - 60-90 second response time | |
| ## API Endpoints | |
| ### Health Check | |
| ```bash | |
| GET /health | |
| ``` | |
| ### Generate Questions | |
| ```bash | |
| POST /api/restructure/ | |
| Content-Type: application/json | |
| { | |
| "content": "Your educational content here..." | |
| } | |
| ``` | |
| ## Usage Example | |
| ```bash | |
| curl -X POST https://YOUR-SPACE-NAME.hf.space/api/restructure/ \ | |
| -H "Content-Type: application/json" \ | |
| -d '{"content": "Your study content..."}' | |
| ``` | |
| ## Technical Stack | |
| - Flask + PyTorch + BiGNN + Gemini AI + NLTK + Gunicorn | |
| --- | |
| Built with β€οΈ for educational technology |