Update app.py
Browse files
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
|