IrisDeng commited on
Commit
a889633
·
verified ·
1 Parent(s): d26a8f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def compose_story_from_caption(caption_detail):
19
  "You are a talented and imaginative storyteller for children aged 3 to 10. "
20
  "Using the details derived from the image below, craft a captivating tale that goes beyond merely describing the scene. "
21
  "Let your creativity shine by introducing engaging characters, adventurous journeys, and delightful surprises. "
22
- "Your story should be vivid, original, and less than 100 words in length.\n\n"
23
  f"Image Details: {caption_detail}\n\nStory:"
24
  )
25
  story_results = story_pipeline(prompt_text, num_return_sequences=1)
 
19
  "You are a talented and imaginative storyteller for children aged 3 to 10. "
20
  "Using the details derived from the image below, craft a captivating tale that goes beyond merely describing the scene. "
21
  "Let your creativity shine by introducing engaging characters, adventurous journeys, and delightful surprises. "
22
+ "Your story should be vivid, original, and between 90 and 100 words in length.\n\n"
23
  f"Image Details: {caption_detail}\n\nStory:"
24
  )
25
  story_results = story_pipeline(prompt_text, num_return_sequences=1)