A Python GUI application using BERT (via HuggingFace Transformers) to summarize input text and perform sentiment analysis. Clean interface, customizable red theme, and easy-to-use layout.
Table of contents
Open Table of contents
Actions
π Features
- Text Summarization powered by
BART
(HuggingFace Transformers) - Sentiment Analysis using
distilBERT
- Desktop GUI built with
Tkinter
(Python standard GUI library) - Custom red-themed interface with live status updates
- Clean layout with non-editable summary, real-time feedback
- One-click
.exe
build available in the releases section in the GitHub repository
π Getting Started
1. Prerequisites
- Python
3.11.0
(used during development) - Create and activate a virtual environment (recommended)
python -m venv venv
venv\Scripts\activate
2. Install Dependencies
pip install -r requirements.txt
3. Run the App
python gui.py
4. Packaging into .exe
To build the standalone .exe
:
pip install pyinstaller
pyinstaller setup.spec
The
.exe
will be available indist/Red Bert.exe
Or simply download it from the releases section in the GitHub repository.
π Project Structure
redbert-summarize-sentiment/
β
βββ gui.py # Main GUI frontend
βββ logic.py # NLP logic (summarization + sentiment)
βββ setup.spec # PyInstaller configuration
π Built With
π License
This project is licensed under the GNU General Public License v3.0 β see the License file for details.
π Contributing
Contributions are welcome! If you have suggestions for improvements or new features, please open an issue or submit a pull request. If you find this helpful, please consider giving it a βοΈ or sharing it! Contact at the link provided above, in case of any questions or suggestions.