Spaces:
Runtime error
Runtime error
TenPoisk
commited on
Commit
·
12f3c57
1
Parent(s):
801986f
Update dolphin.script.py
Browse files- dolphin.script.py +2 -2
dolphin.script.py
CHANGED
@@ -22,7 +22,7 @@ def gptresponse(message, history):
|
|
22 |
response = openai.ChatCompletion.create(engine = "NGA_AI_ASSISTANT",
|
23 |
messages = messages,
|
24 |
temperature =0.7,
|
25 |
-
max_tokens =
|
26 |
top_p = 0.95,
|
27 |
frequency_penalty = 0,
|
28 |
presence_penalty = 0,
|
@@ -30,7 +30,7 @@ def gptresponse(message, history):
|
|
30 |
|
31 |
return response["choices"][0]["message"]["content"]
|
32 |
|
33 |
-
title = "🐬 DolphinChat
|
34 |
description = \
|
35 |
"""
|
36 |
<p></p>
|
|
|
22 |
response = openai.ChatCompletion.create(engine = "NGA_AI_ASSISTANT",
|
23 |
messages = messages,
|
24 |
temperature =0.7,
|
25 |
+
max_tokens = 1500,
|
26 |
top_p = 0.95,
|
27 |
frequency_penalty = 0,
|
28 |
presence_penalty = 0,
|
|
|
30 |
|
31 |
return response["choices"][0]["message"]["content"]
|
32 |
|
33 |
+
title = "🐬 DolphinChat"
|
34 |
description = \
|
35 |
"""
|
36 |
<p></p>
|