Lecture Agent takes those dreadful class slides that feel like quicksand to go through alone and builds your very own AI lecture presentation. It takes the uploaded slide notes and intelligently generates a fully narrated, professor-like presentation, breaking down even the most complex concepts into digestible explanations. This allows users to experience a seamless, interactive lecture experience.
3 AM, just the light of Jacob computer in his dorm room. Reading through 3 weeks worth of lecture slides to make up for getting the flu. With no recorded lectures, the task of learning multivariable calculus was up to me. After ten slides, he couldn't seem to keep his eyes open. The same boring moments with no one to explain it to me made me vow to never make anyone go through what I had to endure. We set out to make a program to do just that. Lecture agent ensures that no matter your circumstances, you're never left behind. With Lecture-Agent, you can study class materials from anywhere, anytime with a personalized AI-driven professor who delivers dynamic lectures based on your course content.
At Davies Auditorium of Yale, we team of 4 came up this idea and drew the structure on the blackboard and started everything...
Follow these steps to set up and run the project:
-
Create a virtual environment:
- MacOS and Linux:
python3 -m venv venv
- Windows:
python -m venv venv
- MacOS and Linux:
-
Activate the virtual environment:
- MacOS and Linux:
source venv/bin/activate - Windows:
venv\Scripts\activate
- MacOS and Linux:
Note: To deactivate the virtual environment:
deactivate
-
Install python dependecies:
pip install -r requirements.txt
-
Install npm dependecies for the React frontend and build it:
- MacOS and Linux:
cd frontend/ && npm i && npm run build && cd ..
- Windows (PowerShell):
cd frontend/; if ($?) { npm i }; if ($?) { npm run build }; if ($?) { cd .. }
- MacOS and Linux:
-
To run the server:
python ./app.py
flask --app app run -
To run the whole thing:
cd react-app/ && npm i && npm run build && cd .. && python3.12 backend/app.py