|
--- |
|
title: Storytelling Application |
|
emoji: π |
|
colorFrom: indigo |
|
colorTo: red |
|
sdk: streamlit |
|
sdk_version: 1.42.2 |
|
app_file: app.py |
|
pinned: false |
|
--- |
|
|
|
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference |
|
|
|
# ποΈπ Storytelling Application |
|
|
|
This app allows you to upload an image and receive a **magical children's story with narration**, all generated by AI. |
|
|
|
--- |
|
|
|
## π What It Does |
|
|
|
1. **Image β Caption** |
|
Uses the BLIP model to describe the uploaded image. |
|
|
|
2. **Caption β Story** |
|
Generates a fun and creative story using `facebook/opt-350m`. |
|
|
|
3. **Story β Audio** |
|
Uses gTTS to create an English narration of the story. |
|
|
|
--- |
|
|
|
## π§ Powered by |
|
|
|
- `Salesforce/blip-image-captioning-base` β Image Captioning |
|
- `facebook/opt-350m` β Text Generation |
|
- `gTTS` β Text to Speech |
|
- `Streamlit` β UI Framework |
|
|
|
--- |
|
|
|
## π How to Use |
|
|
|
- Click the βUpload Imageβ button |
|
- Wait for the app to generate: |
|
- A description of the image |
|
- A story based on the description |
|
- An audio narration of the story |
|
- Listen and download your AI-generated fairytale π§ |
|
|
|
--- |
|
|
|
## π§βπ» Author |
|
|
|
Made by **Eason Liu** |