Update README.md
Browse files
README.md
CHANGED
@@ -9,4 +9,47 @@ app_file: app.py
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
13 |
+
|
14 |
+
# ποΈπ Storytelling Application
|
15 |
+
|
16 |
+
This app allows you to upload an image and receive a **magical children's story with narration**, all generated by AI.
|
17 |
+
|
18 |
+
---
|
19 |
+
|
20 |
+
## π What It Does
|
21 |
+
|
22 |
+
1. **Image β Caption**
|
23 |
+
Uses the BLIP model to describe the uploaded image.
|
24 |
+
|
25 |
+
2. **Caption β Story**
|
26 |
+
Generates a fun and creative story using `facebook/opt-350m`.
|
27 |
+
|
28 |
+
3. **Story β Audio**
|
29 |
+
Uses gTTS to create an English narration of the story.
|
30 |
+
|
31 |
+
---
|
32 |
+
|
33 |
+
## π§ Powered by
|
34 |
+
|
35 |
+
- `Salesforce/blip-image-captioning-base` β Image Captioning
|
36 |
+
- `facebook/opt-350m` β Text Generation
|
37 |
+
- `gTTS` β Text to Speech
|
38 |
+
- `Streamlit` β UI Framework
|
39 |
+
|
40 |
+
---
|
41 |
+
|
42 |
+
## π How to Use
|
43 |
+
|
44 |
+
- Click the βUpload Imageβ button
|
45 |
+
- Wait for the app to generate:
|
46 |
+
- A description of the image
|
47 |
+
- A story based on the description
|
48 |
+
- An audio narration of the story
|
49 |
+
- Listen and download your AI-generated fairytale π§
|
50 |
+
|
51 |
+
---
|
52 |
+
|
53 |
+
## π§βπ» Author
|
54 |
+
|
55 |
+
Made by **Eason Liu**
|