Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def write_essay(sample_topic, user_topic):
12
  model="text-davinci-002",
13
  prompt= "Instruction: Write a five-paragraph essay for the following topic:\nSuggested Length: more than 120 words\nTOPIC: " + sample_topic + "\n\nESSAY:",
14
  temperature=0.7,
15
- max_tokens=500,
16
  top_p=1.0,
17
  frequency_penalty=0.0,
18
  presence_penalty=0.0
 
12
  model="text-davinci-002",
13
  prompt= "Instruction: Write a five-paragraph essay for the following topic:\nSuggested Length: more than 120 words\nTOPIC: " + sample_topic + "\n\nESSAY:",
14
  temperature=0.7,
15
+ max_tokens=2000,
16
  top_p=1.0,
17
  frequency_penalty=0.0,
18
  presence_penalty=0.0