This is a web application that uses OpenAI's GPT-3 API to generate novel text based on user inputs. It allows users to input information such as the title, genre, main characters, and plot summary, and generates a short text prompt based on the provided inputs. The user can then generate multiple text outputs using the generated prompt, which can be used to help them write their own novel.
The current build is slow and buggy.
- Clone this repository to your local machine.
- Install the required dependencies by running the command pip install -r requirements.txt.
- Run the application by running the command python app.py.
- Open your web browser and go to http://localhost:5000 to use the application.
- Sign up for an API key from OpenAI.
- Input your OpenAI API key.
- Enter the required information in the input fields provided. The input fields include the title, genre, main characters, plot summary, and prompt.
- Click on the "Generate Text" button to generate the novel text.
- The generated text will be displayed in the panel below the input fields.
If you want to contribute to this project, feel free to submit a pull request or open an issue.
This project is licensed under the MIT License. See the LICENSE file for more information.
This project was created by HellfunDigital. It utilizes the OpenAI API and the Flask web framework.
"It was a time of great danger. The skies were filled with enemy airships, attacking anyone who dared to cross their path. Carl and his dog, Max, were among the few who dared to take them on. As one of the best pilots in the resistance, Carl was always in the thick of the action. But this time, it was different. This time, he was fighting for more than just himself. He was fighting for Max. Max was more than just a dog. He was Carl's best friend and confidante. He had been with Carl through thick and thin, and Carl knew that he could always count on Max to have his back. So when Carl found himself in the middle of an airship battle, with enemy ships closing in on all sides, he knew that he had to do whatever it took to protect Max. He fired his weapons with precision, taking out ship after ship. But there were too many of them. It was only a matter of time before they were surrounded. Then, in a stroke of luck, Carl spotted a weakness in the enemy's formation. He took advantage of it, and in a matter of minutes, the tide of the battle had turned. The enemy was defeated, and Carl and Max were safe. But Carl knew that this wouldn't be the last time they would have to face danger. He was ready to fight, and he knew that Max would always be by his side."