The AI Text Summarizer is a web application that utilizes state-of-the-art natural language processing (NLP) techniques to summarize long pieces of text into concise summaries. The application is built using Flask for the backend and integrates with Hugging Face's Transformers library for text summarization.
- User-Friendly Interface: A clean and interactive UI for seamless text input and summarization.
- Character Count: Displays the number of characters in the input text, with a limit of 5000 characters.
- Dynamic Summary Generation: Quickly generates summaries using advanced machine learning models.
- Clear Functionality: Easily clear both input text and summary with a single click.
- Loading Spinner: Indicates processing status during summarization.
- Frontend: HTML, CSS, JavaScript
- Backend: Python, Flask
- NLP Model: Hugging Face Transformers
- Libraries:
transformers
,Flask
,numpy
Here are some snapshots of the application:
Ensure you have Python installed (3.6 or higher). You also need pip
for package management.
-
Clone the repository:
git clone https://github.com/Mukunj-21/Text-Summarizer cd text-summarizer-project
-
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Download and set up the pre-trained model (if applicable).
- Start the Flask server:
python app_flask.py
- Open your web browser and go to http://127.0.0.1:5000.
- Paste your text into the input box, and click the Generate Summary button to get your summary. You can clear the input and output using the Clear button.
The rise of artificial intelligence (AI) has led to significant changes in various industries. AI technologies are being used in healthcare, finance, education, and more to improve efficiency and provide better services.
AI technologies have transformed industries like healthcare and finance, enhancing efficiency and service quality.
Contributions are welcome! If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch (git checkout -b feature-branch).
- Make your changes and commit them (git commit -m 'Add new feature').
- Push to the branch (git push origin feature-branch).
- Create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Hugging Face Transformers for providing powerful NLP models.
- Flask community for an amazing web framework.