Update app.py
Browse files
app.py
CHANGED
|
@@ -60,7 +60,7 @@ def generate_content(image):
|
|
| 60 |
# Notice there’s no need to include the extra cleaning instructions in this prompt,
|
| 61 |
# because our code handles them later.
|
| 62 |
prompt = (
|
| 63 |
-
f"Write a funny,bright,
|
| 64 |
f"mention the exact place, location or venue within {caption}"
|
| 65 |
f"Make the story magical and exciting, with lots of friendly descriptions that little ones can enjoy."
|
| 66 |
)
|
|
|
|
| 60 |
# Notice there’s no need to include the extra cleaning instructions in this prompt,
|
| 61 |
# because our code handles them later.
|
| 62 |
prompt = (
|
| 63 |
+
f"Write a funny,bright,and playful story for young children precisely centered on this scene {caption}\nStory:"
|
| 64 |
f"mention the exact place, location or venue within {caption}"
|
| 65 |
f"Make the story magical and exciting, with lots of friendly descriptions that little ones can enjoy."
|
| 66 |
)
|