Web application powered by ChatGPT for creating, modifying the style of, and condensing a piece of literature.
- Change the style of a long-form piece of literature
- Style change is applied to the entire piece
- Create a long-form piece of literature based on comprehensive details
- Use an outline
- Use a summary
- Export to pdf
- Create a long-form piece of literature based on comprehensive details
- Use nothing! Let ChatGPT handle all the ideas
- Use your likes and dislikes to create a novel fit for you
- Condense a piece of literature
- Condense into a few paragraphs
- Condense into a few pages
- Condense into 10-50 pages
- The application never stores or uses your API Key outside of your own prompts. All of the code in this repository is public.
- The application uses gpt-3.5-turbo for the vast majority of prompts and each tick mark on the loading bar is about .2 cents. Most prompts total out between 2 - 15 cents.
- user provides .txt file of a writing (e.g., book or short story) and a prompt to be applied to the entire text
- a pdf file is created with the ChatGPT changes
Must have an Open-AI API Key.
-
Press the API Key button, then paste your OpenAI API Key in the designated input field.
-
Click on either the Style Changer or Book Writer tab.
-
Fill out the forms and press the Submit button whenever your prompt is ready.
-
The application will use iteration and strategic prompting to create a book.
-
A pdf will automatically be downloaded whenever the loading bar gets to 100%.
-
Feel free to leave feedback about the quality of the produced text via email.
- Clone the respository.
git clone https://github.com/ColeBallard/twainsformation
-
Install the latest version of python.
-
Install the dependencies.
pip install -r requirements.txt
-
Run app.py.
python app.py
-
Open http://127.0.0.1:5000 in your browser.
-
Download a publicly-available book in text-file format. Some good places to look are Project Gutenberg and Internet Archive.
-
Press the API Key button, then paste your OpenAI API Key in the designated input field.
-
Feel free to leave feedback about the quality of the produced text via email.