Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -164,7 +164,7 @@ def generate_story(image_description):
|
|
164 |
3. Theme: "Doing the right thing is important"
|
165 |
4. Keep it simple and engaging for young children
|
166 |
5. End with a simple moral lesson
|
167 |
-
6.
|
168 |
|
169 |
try:
|
170 |
messages = [{"role": "user", "content": story_prompt}]
|
|
|
164 |
3. Theme: "Doing the right thing is important"
|
165 |
4. Keep it simple and engaging for young children
|
166 |
5. End with a simple moral lesson
|
167 |
+
6. Each paragraph needs to be three sentences or less for readability"""
|
168 |
|
169 |
try:
|
170 |
messages = [{"role": "user", "content": story_prompt}]
|