Text-Summarizer

Text Summarizer

This project is a web application that provides text summarization functionality. It allows users to input text and receive a summarized version of the input text. The application is built using Flask for the backend and HTML, CSS, and JavaScript for the frontend. It uses the Hugging Face Transformers library for text summarization.

Features

Installation

Requirements

flask
flask-cors
transformers
torch

Steps

  1. Clone the repository:
     git clone https://github.com/AhmedNasser1601/Text-Summarizer.git
     cd Text-Summarizer
    
  2. Install the required packages:
     pip install -r requirements.txt
    
  3. Run the application:
     python main.py
    
  4. Open your web browser and go to http://127.0.0.1:5000.

Usage

  1. Enter the text you want to summarize in the text area.
  2. Adjust the minimum and maximum lengths using the plus and minus buttons.
  3. Click the “Summarize” button.
  4. Wait for the summary to be generated. The summary will be displayed below the form.

Example

File Structure

Acknowledgements

Feel free to contribute to this project by creating issues or submitting pull requests.