Szeyu commited on
Commit
ca23de3
·
verified ·
1 Parent(s): bc7ea9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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, interesting story for young children precisely centered on this scene {caption}\nStory:"
64
- f" mention the exact place, location or venue within {caption}"
 
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