Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,8 @@ def get_story(caption: str) -> str:
|
|
| 63 |
Takes a caption and returns a funny, bright, and playful story targeted toward young children.
|
| 64 |
"""
|
| 65 |
prompt = (
|
| 66 |
-
f"Write a funny and playful story for young children
|
|
|
|
| 67 |
f"mention the exact place, location or venue within {caption}. "
|
| 68 |
f"Make the story magical and exciting."
|
| 69 |
)
|
|
|
|
| 63 |
Takes a caption and returns a funny, bright, and playful story targeted toward young children.
|
| 64 |
"""
|
| 65 |
prompt = (
|
| 66 |
+
f"Write a funny and playful story for young children"
|
| 67 |
+
f"precisely centered on this scene {caption}\nStory:"
|
| 68 |
f"mention the exact place, location or venue within {caption}. "
|
| 69 |
f"Make the story magical and exciting."
|
| 70 |
)
|