mayf commited on
Commit
618f9ae
·
verified ·
1 Parent(s): 8f922fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -109,15 +109,6 @@ if uploaded_image:
109
  story_prompt = (
110
  f"<|im_start|>system\n"
111
  f"You are a children's book author. Create a 150-word story based on: {image_caption}\n"
112
- "Include these elements:\n"
113
- "- Friendly characters\n"
114
- "- Simple vocabulary\n"
115
- "- Positive lesson\n"
116
- "- Clear story structure\n"
117
- "<|im_end|>\n"
118
- f"<|im_start|>user\n"
119
- f"Write an engaging story suitable for ages 6-8.<|im_end|>\n"
120
- f"<|im_start|>assistant\n"
121
  )
122
 
123
  # Generate story text
 
109
  story_prompt = (
110
  f"<|im_start|>system\n"
111
  f"You are a children's book author. Create a 150-word story based on: {image_caption}\n"
 
 
 
 
 
 
 
 
 
112
  )
113
 
114
  # Generate story text