Szeyu commited on
Commit
32f5ce7
·
verified ·
1 Parent(s): 95bff35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -79,10 +79,7 @@ def get_story(caption):
79
  """
80
  prompt = (
81
  f"Write a funny, warm, and imaginative children's story for ages 3-10, 50-100 words, "
82
- f"in third-person narrative, as if the author is playfully describing the scene in the image: {caption}. "
83
- "Explicitly mention the exact venue or location (such as a park, school, or home), describe specific characters "
84
- "(for example, a little girl named Lily or a boy named Jack), and detail the humorous actions they perform. "
85
- "Ensure the story is playful, engaging, and ends with a complete sentence."
86
  )
87
  raw_story = st.session_state.storyer(
88
  prompt,
 
79
  """
80
  prompt = (
81
  f"Write a funny, warm, and imaginative children's story for ages 3-10, 50-100 words, "
82
+ f"{caption}\nStory: in third-person narrative, as if the author is playfully describing the scene in the image."
 
 
 
83
  )
84
  raw_story = st.session_state.storyer(
85
  prompt,