panchajanya1999 commited on
Commit
acd373a
·
1 Parent(s): 3c479c0

app: increase the number of tokens to 1024

Browse files

Signed-off-by: panchajanya <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ system = (
22
  def chatbot(prompt, temperature = 0.2):
23
  response = opai.ChatCompletion.create(
24
  model = "gpt-3.5-turbo",
25
- max_tokens = 512,
26
  temperature = temperature,
27
  frequency_penalty = 0,
28
  presence_penalty = 0.6,
 
22
  def chatbot(prompt, temperature = 0.2):
23
  response = opai.ChatCompletion.create(
24
  model = "gpt-3.5-turbo",
25
+ max_tokens = 1024,
26
  temperature = temperature,
27
  frequency_penalty = 0,
28
  presence_penalty = 0.6,