A newer version of the Streamlit SDK is available:
1.44.1
metadata
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
Image β Caption
Uses the BLIP model to describe the uploaded image.Caption β Story
Generates a fun and creative story usingfacebook/opt-350m
.Story β Audio
Uses gTTS to create an English narration of the story.
π§ Powered by
Salesforce/blip-image-captioning-base
β Image Captioningfacebook/opt-350m
β Text GenerationgTTS
β Text to SpeechStreamlit
β 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