Welcome to the AI Powered Story Generator for Kids project! This application uses images as input to generate creative stories tailored for children. It utilizes advanced AI models to understand the contents of the image and craft an engaging narrative. This tool is designed to make storytelling fun and interactive for young audiences.
- 📤 Upload images: Easily upload images and get a story generated based on the visuals.
- 👀 AI story generation: The AI generates imaginative and child-friendly stories.
- 📊 Interactive Interface: A simple and user-friendly web interface
Follow these steps to set up the project locally:
-
🔀 Clone the Repository:
git clone https://github.com/HaarthiV13/Story_Generator.git
-
🐍 Create a Virtual Environment (Optional but Recommended):
python -m venv venv
- Activate the Virtual Environment:
- Windows:
venv\Scripts\activate
- macOS/Linux:
source venv/bin/activate
- Windows:
- Activate the Virtual Environment:
3.📦 Install Dependencies:
pip install -r requirements.txt
🖥 Usage Run the application:
python app.py
Once the application starts, follow these steps:
-
📂 Upload Your image:
- Navigate to the upload section and choose an image.
-
🔍 view story:
- The AI will generate a fun story based on the uploaded image.
📁 Project Structure
Story_Generator/ ├── app.py # Main application file ├── requirements.txt # Python dependencies ├── utils/ # Utility scripts for image processing ├── README.md # Project overview and instructions └── assets/ # Folder for images and icons
app.py
: The main application file.requirements.txt
: Lists all the project dependencies.utils/
: Contains utility modules for table extraction and summarization.assets/
: (Optional) Directory to store images, icons, or other assets.
Full List of Dependencies: 🧰 Dependencies The project relies on the following key libraries:
Flask OpenAI (for AI-powered story generation) Pillow (for image processing)
Contributions are welcome! Please follow these steps to contribute:
-
Fork the Repository
-
Create a New Branch:
git checkout -b feature/YourFeature
-
Commit Your Changes:
git commit -m "Add your message here"
-
Push to the Branch:
git push origin feature/YourFeature
For any inquiries or feedback, please reach out to Haarthi Vallabhaneni.