Skip to content

Text Summarizer is a web application designed to provide quick and efficient summaries of large texts. It uses an advanced NLP model to extract the essence of the input text, providing users with concise summaries.

Notifications You must be signed in to change notification settings

trushmi/ai-text-summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Summarizer

In this ReadMe:

About this project

Text Summarizer is a web application designed to provide quick and efficient summaries of large texts. It uses an advanced NLP model to extract the essence of the input text, providing users with concise summaries.

Features

  • User-friendly interface for easy text input and summary display.
  • Supports text length from 200 to 100,000 characters.
  • Real-time validation of input text.
  • Loader animation to indicate processing.
  • Responsive design for various devices.

Tech stack

How to use the app

  1. Open the application.
  2. Paste the text you want to summarize into the input text area.
  3. Click the 'Summarize' button to receive a summary.
  4. Use the 'Reset' button to clear all fields and start over.

How to run the app

Note

You need a Hugging Face account for API access (to use the text summarization service)

  1. Clone the repository:

git clone [repository URL]
  1. Navigate to the project directory:

cd [project name]
  1. Set up a virtual environment:

python3 -m venv venv
  1. Activate virtual environment

source venv/bin/activate
  1. Install the required Python packages:

pip install -r requirements.txt
  1. Create a secrets.sh file in your project directory to store Hugging Face API token

touch secrets.sh
  1. Include the following environment variables into secrets.sh file:

export ACCESS_TOKEN='your_huggingface_api_token'
  1. Source the secrets.sh file to set the environment variable:

source secrets.sh
  1. Run the Application

python3 server.py
  1. Open your web browser and navigate to the following address:

http://localhost:5000/

Author

Iryna Trush. Software Engineer with a background in communications, graduated from the Software Engineering Program at Hackbright Academy. LinkedIn.

About

Text Summarizer is a web application designed to provide quick and efficient summaries of large texts. It uses an advanced NLP model to extract the essence of the input text, providing users with concise summaries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published