Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,8 @@ def predict(message, history):
|
|
15 |
response = openai.ChatCompletion.create(
|
16 |
model='gpt-3.5-turbo',
|
17 |
messages= history_openai_format,
|
18 |
-
temperature=0.
|
|
|
19 |
stream=True
|
20 |
)
|
21 |
|
|
|
15 |
response = openai.ChatCompletion.create(
|
16 |
model='gpt-3.5-turbo',
|
17 |
messages= history_openai_format,
|
18 |
+
temperature=0.5,
|
19 |
+
frequency_penalty=1.4,
|
20 |
stream=True
|
21 |
)
|
22 |
|