Innovative-Minds12/EZ_Notes
๐ Easy Work - Auto Lecture Notes Generator
Transform your audio lectures into structured, professional notes automatically using AI
๐ What is Easy Work?
Easy Work is an AI-powered application that automatically converts your lecture recordings into beautifully structured notes. Simply upload an audio file or record live, and let AI do the heavy lifting!
โจ Key Features
- ๐ค Multi-format Audio Support: MP3, WAV, OGG, M4A, FLAC, WEBM
- ๐ Multi-language: English and Urdu support
- ๐๏ธ Live Recording: Record lectures directly in the app
- ๐ค AI-Powered Processing: Uses Groq's latest models for transcription and text generation
- ๐ Structured Output: Get organized notes with sections, summaries, and key points
- โ Auto-Generated Questions: Study questions with answers for review
- ๐พ Export Options: Download as PDF or DOCX
- ๐ Analytics Dashboard: Track your processing history
๐ How It Works
1. Upload Audio โ 2. Select Language โ 3. Process โ 4. Download NotesBehind the scenes:
- Audio Transcription: Groq's Whisper model converts speech to text
- Text Cleaning: AI removes filler words and formats the text
- Content Structuring: Llama model organizes content into sections
- Question Generation: AI creates study questions based on content
- Document Creation: Professional PDF/DOCX files are generated
๐ฆ Installation
Prerequisites
- Python 3.8 or higher
- Groq API key (free from console.groq.com)
Local Setup
- Clone the repository
git clone <your-repo-url>
cd easy-work- Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies
pip install -r requirements.txt- Set up environment variables Create a
.envfile in the root directory:
GROQ_API_KEY=your_groq_api_key_here- Run the application
streamlit run app.pyThe app will open in your browser at http://localhost:8501
โ๏ธ Deploy on Hugging Face Spaces
Step 1: Prepare Your Hugging Face Account
- Go to huggingface.co and sign up/login
- Navigate to your profile โ Spaces โ Create new Space
Step 2: Create Your Space
- Space name:
easy-work-notes(or your preferred name) - License: Choose appropriate license (MIT recommended)
- Space SDK: Select Streamlit
- Space hardware: Start with CPU basic (free tier)
- Click Create Space
Step 3: Upload Your Files
You have two options:
Option A: Git (Recommended)
# Clone your space
git clone https://huggingface.co/spaces/YOUR_USERNAME/easy-work-notes
cd easy-work-notes
# Copy all project files
cp -r /path/to/your/project/* .
# Commit and push
git add .
git commit -m "Initial commit"
git pushOption B: Web Interface
- In your Space, click Files โ Add file โ Upload files
- Upload these files:
app.pyrequirements.txtutils/folder (all files inside)
Step 4: Configure Secrets
- Go to Settings tab in your Space
- Scroll to Repository secrets
- Click New secret
- Name:
GROQ_API_KEY - Value: Your Groq API key
- Click Add secret
Step 5: Build and Run
- Hugging Face will automatically detect Streamlit and start building
- Wait 2-3 minutes for the build to complete
- Your app will be live at:
https://huggingface.co/spaces/YOUR_USERNAME/easy-work-notes
Step 6: Share Your App! ๐
Your app is now live and accessible to anyone with the URL!
๐ฏ Usage Guide
For a 20-Year-Old User (Simple Explanation)
Think of this app as your AI study buddy that never gets tired!
- Get Your Audio Ready
- Record your lecture on your phone/laptop
- Or upload a lecture recording you already have
- Supports: English, Urdu, or mixed
- Upload to Easy Work
- Click "Start Processing" on dashboard
- Choose "Upload Audio File" or "Record Live"
- Select your language and detail level
- Let AI Work Its Magic โก
- The app transcribes the audio (speech โ text)
- Then organizes everything into neat sections
- Creates a summary, key points, and study questions
- Takes about 2-3 minutes for a 1-hour lecture
- Download Your Notes
- Get a professional PDF or Word document
- Share with friends or print for studying
- Use the auto-generated questions for review
Pro Tips:
- Upload clear audio for best results
- Use "Detailed" mode for important lectures
- Check the Analytics page to track your study progress
- Questions section is great for exam prep!
๐ ๏ธ Project Structure
easy-work/
โโโ app.py # Main Streamlit application
โโโ requirements.txt # Python dependencies
โโโ .gitignore # Git ignore rules
โโโ README.md # This file
โโโ utils/ # Utility modules
โโโ __init__.py # Package initializer
โโโ audio_processor.py # Audio transcription (Groq Whisper)
โโโ text_processor.py # Text cleaning & structuring (Groq Llama)
โโโ document_generator.py # PDF & DOCX generation
โโโ analytics.py # Usage statistics๐ง Configuration
Groq Models Used
- Whisper Large V3: Audio transcription
- Llama 3.3 70B: Text processing and note generation
Customization Options
Edit app.py to customize:
- UI colors and styling (CSS section)
- Detail levels and their word counts
- Section organization logic
- Export formatting
๐ Troubleshooting
Common Issues
1. "GROQ_API_KEY not found"
- Make sure you've set the environment variable
- For Hugging Face: Add it in Space settings โ Secrets
- For local: Create a
.envfile with your key
2. Audio upload fails
- Check file format (MP3, WAV, etc.)
- Ensure file is not corrupted
- Try a smaller file (< 25MB recommended)
3. Transcription is inaccurate
- Ensure audio quality is good
- Select the correct language
- Remove background noise if possible
4. App is slow
- Processing time depends on audio length
- 1-hour lecture โ 2-3 minutes processing
- Consider upgrading Hugging Face Space hardware
๐ Acknowledgments
- Groq for providing amazing AI models
- Streamlit for the awesome framework
- Anthropic Claude for development assistance
Made with โค๏ธ by AI Engineers for Students Everywhere
Welcome to Streamlit!
Edit /src/streamlit_app.py to customize this app to your heart's desire. :heart:
If you have any questions, checkout our documentation and community forums.
