An all-in-one AI-powered summarization platform built with Streamlit, Hugging Face Transformers, and Google Gemini, capable of summarizing text, PDFs, speech, YouTube videos, and news articles from a single web interface.
- Summarize long text into concise, readable summaries.
- Adjustable minimum and maximum summary length.
- Automatically chunks large documents before summarization.
- Powered by facebook/bart-large-cnn.
- Records live speech using the microphone.
- Converts speech to text using Google Speech Recognition.
- Generates AI-powered summaries using Google Gemini.
- Automatically stops recording after prolonged inactivity.
- Upload PDF documents.
- Extracts text automatically.
- Generates document summaries.
- Ask natural language questions about the uploaded PDF.
- Uses extractive Question Answering with RoBERTa.
- Paste any YouTube video URL.
- Fetches the video's transcript automatically.
- Generates detailed notes and summaries using Google Gemini.
- Displays the video thumbnail for preview.
- Upload a CSV containing news articles.
- Automatically summarizes every article.
- Displays results article-by-article.
- Supports batch summarization.
- Streamlit
- Facebook BART Large CNN
- Deepset RoBERTa SQuAD2
- Google Gemini Pro
- Transformers
- PyPDF2
- Pandas
- SpeechRecognition
- YouTube Transcript API
- python-dotenv
.
├── allinone.py
├── .env
├── requirements.txt
└── README.md
git clone https://github.com/yourusername/multi-feature-ai-summarizer.git
cd multi-feature-ai-summarizerpython -m venv venvActivate it:
Windows
venv\Scripts\activatemacOS/Linux
source venv/bin/activatepip install -r requirements.txtCreate a .env file.
GOOGLE_API_KEY=YOUR_GEMINI_API_KEYstreamlit run allinone.py- 📄 Text Summarization
- 🎤 Speech Summarization
- 📚 PDF Summarizer & Q&A
▶️ YouTube Video Summarizer- 📰 News Article Summarizer
| Task | Model |
|---|---|
| Text Summarization | facebook/bart-large-cnn |
| PDF Question Answering | deepset/roberta-base-squad2 |
| Speech Summary | Google Gemini Pro |
| YouTube Summary | Google Gemini Pro |
- Unified AI summarization platform
- Supports multiple input formats
- Automatic text chunking for long documents
- Interactive Streamlit interface
- Extractive Question Answering over PDFs
- Live speech transcription
- Batch article summarization
- Modular architecture for easy feature expansion
- Multi-language summarization
- OCR support for scanned PDFs
- Upload DOCX and PPT files
- Audio file summarization
- Translation before summarization
- Summary export as PDF or DOCX
- Chat with uploaded documents
- User authentication and history
Contributions are welcome!
- Fork the repository
- Create a new feature branch
git checkout -b feature-name- Commit your changes
git commit -m "Add feature"- Push the branch
git push origin feature-name- Open a Pull Request
This project is licensed under the MIT License.
Subhakar Tadimalla
Computer Science Engineering Student
AI • Machine Learning • Full Stack Development • Open Source