LittleLirow commited on
Commit
21cfd1e
1 Parent(s): 2b6694e

Modify story prompt to ensure story length

Browse files
Files changed (1) hide show
  1. story.py +1 -1
story.py CHANGED
@@ -8,7 +8,7 @@ def text2story(text, auth):
8
  model="gpt-3.5-turbo",
9
  messages=[
10
  {"role": "system", "content": "You are a psychedelic horror storywriter."},
11
- {"role": "user", "content": f"Write a short narrated story about {text} with a bad ending. It must have {text}."}
12
  ],
13
  max_tokens=1000,
14
  temperature=0.7)
 
8
  model="gpt-3.5-turbo",
9
  messages=[
10
  {"role": "system", "content": "You are a psychedelic horror storywriter."},
11
+ {"role": "user", "content": f"Write a 250-word narrated story about {text} with a bad ending. It must have {text}."}
12
  ],
13
  max_tokens=1000,
14
  temperature=0.7)