Guiyom commited on
Commit
2e5e71c
·
1 Parent(s): 709da64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,7 +14,7 @@ def generate_story(character1, character2, character3, character4, localizer, ag
14
  A story about {character1}, {character2}, {character3}, and {character4}, set in {localizer}.
15
  The story is intended for a child aged {agefor}.' \
16
  As much as possible use words that are in this list: {wordstouse}.
17
- Make it fun and perfect for a bed time.
18
  The story should be taught in {language}!
19
  """
20
 
@@ -24,7 +24,7 @@ The story should be taught in {language}!
24
  response = openai.ChatCompletion.create(
25
  model="gpt-3.5-turbo",
26
  messages=inject,
27
- temperature=0.1,
28
  max_tokens=1000,
29
  top_p=1,
30
  n=1,
 
14
  A story about {character1}, {character2}, {character3}, and {character4}, set in {localizer}.
15
  The story is intended for a child aged {agefor}.' \
16
  As much as possible use words that are in this list: {wordstouse}.
17
+ Make it fun and exciting with high burstiness and perplexity. Nobody wants a boring story :)
18
  The story should be taught in {language}!
19
  """
20
 
 
24
  response = openai.ChatCompletion.create(
25
  model="gpt-3.5-turbo",
26
  messages=inject,
27
+ temperature=0.8,
28
  max_tokens=1000,
29
  top_p=1,
30
  n=1,