2wawdw / README.md
Nouman112233's picture
Update README.md
099774c verified

A newer version of the Streamlit SDK is available: 1.57.0

Upgrade
metadata
title: 2wawd
emoji: 📚
colorFrom: purple
colorTo: blue
sdk: streamlit
sdk_version: 1.44.0
app_file: app.py
pinned: true

StoryMii - AI Story Generator

Overview

StoryMii is an AI-powered story generator that creates engaging 4-page stories with beautiful illustrations. Each story includes a cover image and 4 page illustrations, making it perfect for young readers.

Features

  • Generates exactly 4-page stories with consistent narrative flow
  • Creates 5 AI-generated illustrations (1 cover + 4 page images)
  • Interactive story display with animations and transitions
  • Dark mode UI for comfortable reading
  • Story library to save and revisit generated stories

Technical Details

  • Built with Streamlit
  • Uses OpenAI's GPT-4 for story generation
  • Uses DALL-E 3 for image generation
  • Responsive and accessible design

Setup

  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment variables:
  • OPENAI_API_KEY: Your OpenAI API key
  • AZURE_OPENAI_ENDPOINT: Your Azure OpenAI endpoint
  • AZURE_OPENAI_KEY: Your Azure OpenAI key

Usage

  1. Select "Create Story" from the sidebar
  2. Fill in the story details (setting, character, theme, etc.)
  3. Click "Generate Story" to create your story
  4. View your stories in the "Story Library"

Deployment

This app is configured for Hugging Face Spaces deployment with Streamlit.