Spaces:
Sleeping
Sleeping
Create README.me
Browse files
README.me
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Jajabor – SEBA Assamese Class 10 AI Tutor
|
| 3 |
+
emoji: 🧭
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: blue
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: "4.44.0"
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# 🧭 Jajabor – SEBA Assamese Class 10 AI Tutor
|
| 13 |
+
|
| 14 |
+
**Jajabor** is an AI-powered tutor for **SEBA Class 10 Assamese medium** students.
|
| 15 |
+
It reads textbook PDFs, understands photographed questions, solves math step-by-step,
|
| 16 |
+
and answers in **simple Assamese**.
|
| 17 |
+
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# 🚀 Features
|
| 21 |
+
|
| 22 |
+
### 📚 **RAG Textbook Intelligence**
|
| 23 |
+
- Drop SEBA Class 10 PDFs into `pdfs/class10/`
|
| 24 |
+
- System auto-reads textbooks using PyMuPDF
|
| 25 |
+
- Splits into chunks + builds FAISS search index
|
| 26 |
+
- Answers ONLY from textbook content
|
| 27 |
+
|
| 28 |
+
### 🖼️ **OCR Question Reading**
|
| 29 |
+
- Upload a photo of a question
|
| 30 |
+
- Tesseract extracts Assamese + English text
|
| 31 |
+
- Works even with low-quality exam photos
|
| 32 |
+
|
| 33 |
+
### 🧮 **Math Solver (SymPy)**
|
| 34 |
+
- Solves equations
|
| 35 |
+
- Simplifies expressions
|
| 36 |
+
- Shows **step-by-step Assamese explanation**
|
| 37 |
+
|
| 38 |
+
### 🤖 **LLM Reasoning**
|
| 39 |
+
Uses Hugging Face Inference API (configurable):
|
| 40 |
+
- default: `Qwen/Qwen2.5-3B-Instruct`
|
| 41 |
+
- can change to Gemma, Falcon, Mistral etc.
|
| 42 |
+
|
| 43 |
+
### 👤 **User Login + Progress Tracking**
|
| 44 |
+
Stores:
|
| 45 |
+
- number of questions asked
|
| 46 |
+
- math vs non-math ratio
|
| 47 |
+
|
| 48 |
+
SQLite database auto-created: `jajabor_users.db`
|
| 49 |
+
|
| 50 |
+
---
|
| 51 |
+
|
| 52 |
+
# 📂 Directory Structure
|
| 53 |
+
|