2ch commited on
Commit
5fd373d
1 Parent(s): 9a4e67e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -24,6 +24,7 @@ def predict(message, history, temperature):
24
 
25
  response = openai.ChatCompletion.create(
26
  model='gpt-3.5-turbo-1106',
 
27
  messages= history_openai_format,
28
  temperature=temperature,
29
  stream=True
 
24
 
25
  response = openai.ChatCompletion.create(
26
  model='gpt-3.5-turbo-1106',
27
+ max_tokens=8000,
28
  messages= history_openai_format,
29
  temperature=temperature,
30
  stream=True