Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/simplecyber/text-summary-

Text Summarizer is a Streamlit-based application for summarizing text and PDF documents using txtai and PyPDF2.
https://github.com/simplecyber/text-summary-

Last synced: about 1 month ago
JSON representation

Text Summarizer is a Streamlit-based application for summarizing text and PDF documents using txtai and PyPDF2.

Awesome Lists containing this project

README

        

# Text Summarizer: Efficient Text and Document Summarization

## Overview

Text Summarizer is a Streamlit-based application that provides users with the ability to summarize large blocks of text and PDF documents. It uses the txtai library to generate summaries and PyPDF2 to extract text from PDF files.

## Features

- **Summarize Text**: Input any block of text and get a concise summary.
- **Summarize Document**: Upload a PDF file and receive a summary of its content.
- **Interactive UI**: Easy-to-use interface powered by Streamlit.
- **Efficient Processing**: Quick and accurate text extraction and summarization.

## Installation

1. Clone the repository:

```bash
https://github.com/SimpleCyber/Text-Summary-.git
cd Text-Summary-
```

2. Install the required dependencies:

```bash
pip install streamlit txtai PyPDF2
```

3. Run the application:

```bash
streamlit run app.py
```

## Usage

1. **Summarize Text**:
- Select "Summarize Text" from the sidebar.
- Enter your text in the provided text area.
- Click the "Summarize Text" button to generate a summary.

2. **Summarize Document**:
- Select "Summarize Document" from the sidebar.
- Upload a PDF file using the file uploader.
- Click the "Summarize Document" button to extract text and generate a summary.

## Contribution

Contributions are welcome! Feel free to submit a pull request or open an issue for any feature requests or bugs.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

---

Enjoy using Text Summarizer!