TaleCraft is an assistant tool designed to help novelists and content writers generate narratives and enhance text. Whether you want to create stories from images, describe scenes like in a novel, or improve your text, TaleCraft is here to assist you in your creative writing journey.
Generate narratives from images or text input. Simply upload an image or type in a scenario, and TaleCraft will create a short story to inspire your writing.
Describe an image in a detailed and novel-like manner. Perfect for writers who need to paint a vivid picture of a scene or character in their story.
Enhance and rewrite your sentences to improve their flow, style, and readability, making them suitable for a novel.
To run this project locally, you'll need to have Python installed. Follow the steps below to set up the project:
-
Clone the repository:
git clone https://github.com/tribuvan/TaleCraft.git cd TaleCraft
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install the required dependencies i.e the libraries used in the import statements if they are not there:
-
pip install streamlit==1.24.0
-
Run the Streamlit application:
streamlit run app.py
- Launch the application in your browser.
- Use the sidebar to select the desired feature:
- Story Generation: Generate a story from an image or text input.
- Image Description: Describe an image as if writing a novel.
- Text Enhancement: Rewrite and enhance text for a novel-like quality.
- Follow the prompts and start creating!
This project is licensed under the MIT License. See the LICENSE file for details.