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
- Host: GitHub
- URL: https://github.com/artemy/openai-poetry-interface
- Owner: artemy
- License: mit
- Created: 2022-11-13T12:22:38.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-13T12:25:24.000Z (almost 3 years ago)
- Last Synced: 2025-02-12T05:13:32.916Z (8 months ago)
- Topics: flask, openai, poetry-generator, python
- Language: HTML
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)