This app is a summary generator for scientific literature. It employs the Flask web framework in combination with the GPT-3 language model from OpenAI. Please refer to the instructions below to set up the summarizer.
- Python >= 3.10 from here
-
Clone this repository
$ git clone https://github.com/SamuelKnaus/pub2sum.git
-
Navigate into the project directory
$ cd pub2sum -
Create a new virtual environment
$ python -m venv venv $ . venv/bin/activate -
Install the necessary requirements
$ cat requirements.txt | xargs -n 1 pip install -
Create a copy of the example environment variables file
$ cp .env.example .env
-
Add your API key to the newly created
.envfile -
Run the app
$ flask run
You should now be able to access the app at http://127.0.0.1:5000!