Digest demo is a flask app that implements the text summarization using GPT-3.
- Python 3.6+
- Tesseract-OCR
An executable instance of tesseract-ocr is required and the path to the executable will need to be specified in the digestai/images.py
file in line 17
(this will be moved to a config file later).
- Clone the repo
- CD into directory
- Create a python virtual environment using the venv module and activate it.
- Install requirements using pip
- Set OpenAI API Key to the system environment variable "OPENAI_API_KEY"
- Set FLASK_APP variable to 'digestai'
- Set FLASK_ENV variable to development
- Finally flask app with flask run command