--- title: AI Storyteller emoji: 🎭 colorFrom: purple colorTo: pink sdk: gradio sdk_version: 5.42.0 app_file: app.py pinned: false license: mit --- # 🎭 AI Storyteller An interactive AI-powered storytelling application that generates creative stories across multiple genres using advanced natural language processing. ## ✨ Features - **Multi-Genre Support**: Fantasy, Sci-Fi, Mystery, Horror, Romance, Adventure, Comedy, Drama - **Interactive Interface**: Easy-to-use web interface built with Gradio - **Customizable Stories**: Adjust story length and style - **Real-time Generation**: Instant story creation using GPT-2 models ## 🚀 How to Use 1. Enter your story prompt in the text box 2. Choose your preferred genre from the dropdown 3. Adjust the story length slider 4. Click submit to generate your unique story! ## 🛠️ Technical Details - **Model**: DistilGPT-2 for fast, efficient story generation - **Framework**: Hugging Face Transformers - **Interface**: Gradio for interactive web UI - **Deployment**: Hugging Face Spaces ## 📝 Example Prompts - "A young wizard discovers a hidden library" (Fantasy) - "A detective receives a cryptic phone call" (Mystery) - "Robots develop feelings" (Sci-Fi) - "Two strangers meet in a coffee shop" (Romance) ## 🎯 Project Purpose This project demonstrates the integration of modern NLP techniques with user-friendly interfaces for creative applications. Perfect for writers, educators, and anyone interested in AI-generated content. ## 👨‍💻 Created By Dr.Anubhuti Gupta - AI Storyteller Project --- *Powered by Hugging Face 🤗*