LecGen AI is a powerful tool designed to transform lecture recordings (YouTube links, video files, or audio files) into structured study materials.
- Transcription: High-accuracy transcription using OpenAI's Whisper model.
- Summarization: Smart summaries that capture the essence of the lecture.
- Notes Generation: Structured notes for easy review.
- Quiz Generation: AI-generated questions and answers to test your knowledge.
- Flashcards: Interactive flashcards for active recall.
-
Clone the repository:
git clone <repository-url> cd LecGenAICTE
-
Create and activate a virtual environment:
python -m venv venv .\venv\Scripts\activate # Windows source venv/bin/activate # Linux/Mac
-
Install dependencies:
pip install -r requirements.txt
-
Install FFmpeg: FFmpeg is required for audio processing. Download it from ffmpeg.org and add it to your system PATH.
To run the modern Streamlit interface:
streamlit run streamlit_app.pyTo run the command-line interface:
python main.py- Frontend: Streamlit
- Transcription: OpenAI Whisper
- AI Models: Hugging Face Transformers (BART, T5, RoBERTa)
- Audio Processing: Pydub
- Video Download: yt-dlp