Benjy commited on
Commit
8a716b8
·
verified ·
1 Parent(s): d39ba62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def get_message(user_input):
57
  response = openai.ChatCompletion.create(
58
  model="gpt-3.5-turbo",
59
  messages=[{"role": "system", "content": context}] + [{"role": "user", "content": msg} for msg in conversation_history] + [{"role": "user", "content": user_input}],
60
- max_tokens=150,
61
  )
62
 
63
  return response['choices'][0]['message']['content'].strip()
 
57
  response = openai.ChatCompletion.create(
58
  model="gpt-3.5-turbo",
59
  messages=[{"role": "system", "content": context}] + [{"role": "user", "content": msg} for msg in conversation_history] + [{"role": "user", "content": user_input}],
60
+ max_tokens=450,
61
  )
62
 
63
  return response['choices'][0]['message']['content'].strip()