A newer version of the Streamlit SDK is available: 1.56.0
metadata
title: MindGap AI
emoji: π§
colorFrom: blue
colorTo: indigo
sdk: streamlit
sdk_version: 1.31.0
python_version: '3.10'
app_file: app.py
pinned: false
license: apache-2.0
MindGap AI - Adaptive Learning Companion
MindGap AI is a hackathon-ready application designed to detect student knowledge gaps and generate personalized micro-lessons using RAG and Streamlit.
Tech Stack
- Frontend/Backend: Streamlit
- Vector Search: FAISS
- Embeddings: Sentence-Transformers (
all-MiniLM-L6-v2) - LLM: Groq API (
llama-3.3-70b-versatile) - Database: SQLite (Performance tracking)
π Project Structure
app.py: Main Streamlit application.rag_engine.py: Core RAG logic.database.py: SQLite storage.requirements.txt: Project dependencies.
π Quick Start (Local)
Install Dependencies:
pip install -r requirements.txtEnvironment Variables: Create a
.envfile or set the environment variable:GROQ_API_KEY=your_key_hereRun:
streamlit run app.py
π Deployment (Hugging Face Spaces)
The app is optimized for Hugging Face Spaces.
- Create a Space with the Streamlit SDK.
- Connect your GitHub repository.
- Add
GROQ_API_KEYto the Space Secrets. - The app will automatically build and run.
π‘ Hackathon Demo Tips
- Unified Flow: Streamlit provides a seamless experience for uploading notes, learning, and testing in one place.
- RAG & FAISS: Your documents are indexed locally for fast, contextual retrieval.
- Adaptive Learning: The LLM adjusts the lesson depth based on your queries and performance history.