CoolFace
Apppublic

tisha04/EDUFLOW

sourceHugging Facemitupdated 6mo agoView on Hugging Face
0likes
App README

๐ŸŽฏ ExamEdge AI โ€” Smart Exam Study Planner

AI-powered timetable manager for competitive exam candidates (JEE, NEET, UPSC, GATE, CAT, etc.)

Features

  • โ€”AI-generated daily study plans personalised to your exam goal and daily hours
  • โ€”Subject memory โ€” tracks completion rate per subject, flags weak areas automatically
  • โ€”Daily adaptation agent โ€” detects missed sessions, reschedules tasks, rebalances load
  • โ€”Productivity dashboard โ€” progress score, per-subject bars, session history

Tech Stack

  • โ€”Frontend: Gradio
  • โ€”AI: Groq API (LLaMA 3.3 70B โ€” fast & free)
  • โ€”DB: SQLite (local, persistent within the Space)

Deploy on Hugging Face Spaces

  1. 1.Create a new Space โ†’ SDK: Gradio
  2. 2.Upload all files (or push via git)
  3. 3.Go to Settings โ†’ Variables and secrets โ†’ New secret:
   Name:  GROQ_API_KEY
   Value: gsk_...
  1. 1.Space restarts automatically โ€” you're live!

Local Setup

bash
pip install -r requirements.txt
export GROQ_API_KEY=gsk_...
python app.py

File Structure

app.py          โ† Gradio UI (all tabs, event wiring)
llm.py          โ† Groq API wrapper (call_groq, parse_json_response)
planner.py      โ† AI schedule generator
agent.py        โ† Daily adaptation agent
memory.py       โ† Per-subject learning memory
database.py     โ† SQLite setup & helpers
requirements.txt
README.md

Bugs Fixed vs Original Codebase

#BugFix
1 & 2from prompts.templates โ€” no such packagefrom templates import ...
3DB path used ".." โ€” navigated outside projectFixed to project-local __file__ path
4Invalid model string claude-opus-4-6Switched to Groq llama-3.3-70b-versatile
5JSON fallback end could be 0 โ†’ crashAdded guard end > start
6Hardcoded localhost:8000 FastAPI URLRemoved FastAPI; all logic in-process
7Missing API key silently passed as ""Raises ValueError at startup