Spaces:
Build error
Build error
A newer version of the Streamlit SDK is available: 1.57.0
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
- Install dependencies:
pip install -r requirements.txt
- 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
- Select "Create Story" from the sidebar
- Fill in the story details (setting, character, theme, etc.)
- Click "Generate Story" to create your story
- View your stories in the "Story Library"
Deployment
This app is configured for Hugging Face Spaces deployment with Streamlit.