CoolFace
Apppublic

Erica12345612/children-story-generator

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

Children's Story Generator

This is a simple web application that generates stories suitable for children ages 3-10 based on uploaded images and provides a text-to-speech feature.

Features

  • —Image Upload: Supports uploading images in JPG, JPEG, and PNG formats
  • —Image Description: Uses AI to automatically understand image content and generate descriptions
  • —Story Generation: Creates interesting children's stories based on image descriptions
  • —Text-to-Speech: Converts generated stories into speech for children to listen to

How to Use

  1. 1.Click the "Choose an image" button to upload an image
  2. 2.Wait for the system to generate an image description and story
  3. 3.View the generated story text
  4. 4.Click the audio play button to listen to the story

Technical Implementation

The application uses the following technologies:

  • —Streamlit: For creating the web interface
  • —Transformers: For image analysis and text generation
  • —gTTS (Google Text-to-Speech): For text-to-speech conversion

Deployment Information

This application is deployed on the Hugging Face Spaces platform and can be accessed directly through a browser without installing any additional software.

Notes

  • —Images should be clear and recognizable, with positive and healthy content
  • —Generated stories are of moderate length, suitable for children to read
  • —The text-to-speech feature requires browser support for audio playback

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference