Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def predict(message, history, temperature):
|
|
24 |
|
25 |
response = openai.ChatCompletion.create(
|
26 |
model='gpt-3.5-turbo-1106',
|
27 |
-
max_tokens=
|
28 |
messages= history_openai_format,
|
29 |
temperature=temperature,
|
30 |
stream=True
|
|
|
24 |
|
25 |
response = openai.ChatCompletion.create(
|
26 |
model='gpt-3.5-turbo-1106',
|
27 |
+
max_tokens=4000,
|
28 |
messages= history_openai_format,
|
29 |
temperature=temperature,
|
30 |
stream=True
|