metadata
title: Answer Grading App
emoji: π
colorFrom: pink
colorTo: green
sdk: docker
pinned: false
license: apache-2.0
app_port: 7860
Answer Grading App
This is an AI-powered answer grading application that can grade student answers using multiple similarity metrics and LLM-based scoring.
Features
- Support for PDF and CSV input formats
- Multiple similarity metrics:
- TF-IDF scoring
- Semantic similarity
- Word-level similarity
- LLM-based scoring
- Handwritten text recognition (HTR) support
- Rate limiting and CORS protection
- Comprehensive logging
Usage
- Upload your query file (text file with questions)
- Choose input format (PDF or CSV)
- Upload answer files (PDFs or CSV)
- Get graded results
API Endpoints
/
: Main interface/compute_answers
: Process and generate answers/compute_marks
: Calculate marks for student answers/check_logs
: View application logs
Environment Variables
PORT
: Server port (default: 7860)HF_HOME
: Hugging Face cache directoryGENSIM_DATA_DIR
: Gensim data directory
Rate Limits
- 200 requests per day
- 50 requests per hour
Dependencies
See requirements.txt
for full list of dependencies.