A stupid GPT-3 experiment to generate blog posts to accompany the weekly Spotify playlists for my music blog, My Life in Music.
What? You want to run this? Why?? It basically amounts to an AI shitposting on my blog. But if you really want to, here's how.
- Python 3.8+
- A GPT-3 API key
- Spotify API Credentials
Clone the repo:
git clone https://github.com/BoxingOctopusCreative/mlim-gpt
Install the requirements via pipenv:
pipenv install
Run the app using gunicorn:
gunicorn --bind 0.0.0.0:5000 app:app
Clone the repo:
git clone https://github.com/BoxingOctopusCreative/mlim-gpt
Build the docker image:
docker build -t mlim-gpt .
Run the docker image:
docker run -p 5000:5000 mlim-gpt
Once the service is running, it should be accessible on port 5000. For a full list of API endpoints, you can access the Swagger UI at http://app_host:5000/apidocs
.