This simple Python app takes a book or a long text file as input, summarizes its content, and exports the summary as a PDF file.
The summarization process involves breaking down the text into clusters, generating summaries for each cluster, and combining them into a final summary.
Python 3.9 or later
Required Python packages with specified versions:
langchain
numpy
openai
python-dotenv
scikit-learn
pypdf
tqdm
Unidecode
streamlit
The summarized content will be exported as a PDF file in the specified output location.