Skip to content

A text and document summarizer made in python with the txtai library and hosted on Streamlit.

Notifications You must be signed in to change notification settings

TheCleverIdiott/summarizer

Repository files navigation

Abstractive Text Summarization Web-App

Abstractive summarization is the process of generating a summary of a text by understanding its meaning and creating a new text that conveys the same information in a shorter form. Abstractive methods employ more powerful natural language processing techniques to interpret text and generate new summary text, as opposed to selecting the most representative existing excerpts to perform the summarization. Read More

The app is built using "txtai" a powerful NLP library. Txtai builds embeddings databases, which are a union of vector indexes and relational databases. This enables similarity search with SQL. Embeddings databases can stand on their own and/or serve as a powerful knowledge source for large language model (LLM) prompts. Read More


My Streamlit app allows us to process both raw text and PDF files to get a summary.

Resources

Pre-requisites

  • Any IDE
  • txtai[all] pip install txtai
  • streamlit pip install streamlit
  • PyPDF2 pip install pyPDF2

Run the App

  • Clone the repository
  • Install the dependencies
  • Execute streamlit run app.py

Sample Output

Documentations