/poet

Primary LanguageJavaScriptCreative Commons Zero v1.0 UniversalCC0-1.0

Poet

Poet is an app to write poems using OpenAIs GPT model. There are two components to it. One is the OpenAI API access contained in PoemGen.js and the other component is the react app contained in App.js and the components folder.

Create an OpenAI API key and put it in a .env file under the name REACT_APP_OPENAI_API_KEY

REACT_APP_OPENAI_API_KEY="sk-...."

To start the application run the following commands in the terminal.

npm install
npm run start

To build the application run the following command.

npm run build

Contributing

Make a pull request with the requested feature or bugfix.