Spaces:
Sleeping
Sleeping
File size: 1,191 Bytes
edc6e4e 86632f3 edc6e4e 9275410 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
---
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** |