| --- |
| title: PaperPilot |
| emoji: π |
| colorFrom: blue |
| colorTo: purple |
| sdk: gradio |
| sdk_version: "6.16.0" |
| python_version: "3.10" |
| app_file: app.py |
| pinned: false |
| tags: |
| - track:backyard |
| - sponsor:openbmb |
| - sponsor:openai |
| - sponsor:nvidia |
| - sponsor:modal |
| - achievement:offbrand |
| - achievement:fieldnotes |
| --- |
| |
| # π PaperPilot |
|
|
| AI-powered Scholarship & Form Assistant |
|
|
| **PaperPilot** helps students and applicants understand lengthy application forms instantly by extracting key information, checking eligibility, generating document checklists, and answering questions using AI. |
|
|
| --- |
|
|
| # π Problem Statement |
|
|
| Many students and applicants struggle with: |
|
|
| * Long and complex application forms |
| * Hidden eligibility requirements |
| * Missing deadlines |
| * Missing mandatory documents |
| * Confusing instructions |
|
|
| PaperPilot solves this by automatically extracting and explaining the most important information from uploaded documents. |
|
|
| --- |
|
|
| ## Solution |
|
|
| PaperPilot uses OCR and AI to analyze forms and provide structured, easy-to-understand information. |
|
|
| Users simply upload a PDF and PaperPilot automatically extracts: |
|
|
| * Form Name |
| * Deadlines |
| * Eligibility Rules |
| * Required Documents |
| * Contact Information |
| * Form Summary |
|
|
| It also provides an AI assistant for asking questions about the uploaded form. |
|
|
| --- |
|
|
| # β¨ Features |
|
|
| ### π Smart PDF Processing |
|
|
| * Supports normal PDFs |
| * Supports scanned PDFs |
| * OCR-based text extraction |
|
|
| ### π€ AI-Powered Form Understanding |
|
|
| * Automatic form analysis |
| * Structured information extraction |
| * Form summarization |
|
|
| ### β
Eligibility Analyzer |
|
|
| * Detects eligibility criteria |
| * Extracts income limits |
| * Identifies category requirements |
| * Highlights important conditions |
|
|
| ### π Document Checklist Generator |
|
|
| * Extracts required documents |
| * Generates actionable checklists |
|
|
| ### π
Timeline Extraction |
|
|
| * Detects deadlines |
| * Highlights important dates |
|
|
| ### β Risk Detection |
|
|
| * Identifies missing information |
| * Detects critical deadlines |
| * Warns users about possible issues |
|
|
| ### π Document Verification Assistant |
|
|
| * Helps users verify required documents before submission |
|
|
| ### π¬ Ask PaperPilot |
|
|
| Powered by **Qwen 2.5 Instruct LLM** |
|
|
| Users can ask natural-language questions such as: |
|
|
| * What is the last date to apply? |
| * Am I eligible? |
| * What documents are required? |
| * Summarize this form. |
| * What happens if I miss the deadline? |
|
|
| --- |
|
|
| # π System Architecture |
|
|
| ```text |
| User Uploads PDF |
| β |
| βΌ |
| OCR Engine |
| (Normal + Scanned PDFs) |
| β |
| βΌ |
| Text Extraction |
| β |
| βΌ |
| Master JSON Builder |
| β |
| ββββββββΌβββββββ |
| βΌ βΌ βΌ |
| Summary Eligibility Checklist |
| β β β |
| βΌ βΌ βΌ |
| Timeline Risk Detection Verification |
| β |
| βΌ |
| Qwen 2.5 AI Assistant |
| β |
| βΌ |
| User-Friendly Insights |
| ``` |
|
|
| --- |
|
|
| # π Tech Stack |
|
|
| ### Frontend |
|
|
| * Gradio |
|
|
| ### Backend |
|
|
| * Python |
|
|
| ### OCR |
|
|
| * EasyOCR |
| * PyMuPDF |
| * PDFPlumber |
|
|
| ### AI / NLP |
|
|
| * Hugging Face Inference API |
| * Qwen 2.5 Instruct |
|
|
| ### Deployment |
|
|
| * Hugging Face Spaces |
|
|
| ### DevOps |
|
|
| * GitHub Actions |
| * CI/CD Pipeline |
|
|
| --- |
|
|
| # π CI/CD Pipeline |
|
|
| ```text |
| GitHub Repository |
| β |
| βΌ |
| GitHub Actions |
| β |
| βΌ |
| Hugging Face Spaces |
| β |
| βΌ |
| Automatic Deployment |
| ``` |
|
|
| Every push to the main branch automatically deploys the latest version of PaperPilot. |
|
|
| --- |
|
|
| # π― Use Cases |
|
|
| * Scholarship Applications |
| * Government Schemes |
| * Admission Forms |
| * Internship Applications |
| * Job Applications |
| * Grant Applications |
| * Registration Forms |
|
|
| --- |
|
|
| ## Demo Video |
|
|
| https://youtu.be/EalpBFBLPA0?si=UVeDujcsYHECKKSm |
|
|
| ## Social Media Post |
|
|
| https://x.com/KamranX07/status/2066492830475038881 |
|
|
| ## GitHub Repository |
|
|
| https://github.com/KamranX07/PaperPilot |
|
|
| --- |
|
|
| ## π Field Notes |
|
|
| ### Problem |
| Students often struggle to understand scholarship and application forms due to complex eligibility rules, deadlines, and document requirements. |
|
|
| ### Solution |
| PaperPilot is an AI-powered assistant that analyzes forms, extracts important information, verifies eligibility, and answers user questions in natural language. |
|
|
| ### Technical Architecture |
| - OCR/Text Extraction |
| - Structured Form Parser |
| - Master JSON Generation |
| - Eligibility Verification Engine |
| - Qwen 2.5 7B Instruct via Hugging Face Inference |
| - Gradio Frontend |
|
|
| ### Challenges Faced |
| - Hugging Face legacy inference endpoints were deprecated. |
| - Migrated from the old API route to the new InferenceClient-based routing system. |
| - Resolved dependency conflicts between Gradio and Pydantic. |
| - Improved eligibility extraction logic for income limits. |
|
|
| ### Lessons Learned |
| - Small language models can solve practical real-world problems effectively. |
| - Structured JSON extraction greatly improves reliability. |
| - Good UI/UX significantly improves user adoption. |
|
|
| ### Future Enhancements |
|
|
| * Multi-language support |
| * Advanced eligibility reasoning |
| * Personalized recommendations |
| * Form autofill assistance |
| * Voice-based interaction |
| * Mini-RAG document memory |
| * Mobile application |
|
|
| --- |
|
|
| # π¨βπ» Team |
|
|
| - Hugging Face Username: KamranX07 (Solo) |
|
|
| Built as an AI-powered document intelligence platform for simplifying form understanding and application workflows. |
|
|
| --- |
|
|
| # β PaperPilot |
|
|
| **Upload. Understand. Apply with Confidence.** |
| **Built for the Build Small Hackathon.** |
|
|