An open API service indexing awesome lists of open source software.

https://github.com/artemy/openai-poetry-interface


https://github.com/artemy/openai-poetry-interface

flask openai poetry-generator python

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# OpenAI Poetry generator

OpenAI Poetry generates poetry from specified prompts

# Prerequisites

- [Docker Desktop](https://docker.com)

# Usage

- Get API Key from [OpenAI Beta](https://beta.openai.com/account/api-keys) website.
- Put API Key in [.env](.env) file in the project folder
- Start the docker image by running the following command from the project folder:
```shell
docker-compose up -d
```
- Once the docker image is successfully running, you should be able to access OpenAI Poetry Generator web interface at [http://localhost:8000/](http://localhost:8000/)
- To stop the docker image, run the following command from the project folder:
```shell
docker-compose stop
```

# Dependencies

- [Flask](https://flask.palletsprojects.com/)
- [OpenAI API](https://beta.openai.com)
- [Docker Desktop](https://docker.com)