Update app.py
Browse files
app.py
CHANGED
|
@@ -60,8 +60,9 @@ 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,
|
| 64 |
-
f"
|
|
|
|
| 65 |
)
|
| 66 |
|
| 67 |
# Generate raw story from the model
|
|
|
|
| 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 |
)
|
| 67 |
|
| 68 |
# Generate raw story from the model
|