Spaces:
Sleeping
Sleeping
Commit
·
acd373a
1
Parent(s):
3c479c0
app: increase the number of tokens to 1024
Browse filesSigned-off-by: panchajanya <rsk52959@gmail.com>
app.py
CHANGED
|
@@ -22,7 +22,7 @@ system = (
|
|
| 22 |
def chatbot(prompt, temperature = 0.2):
|
| 23 |
response = opai.ChatCompletion.create(
|
| 24 |
model = "gpt-3.5-turbo",
|
| 25 |
-
max_tokens =
|
| 26 |
temperature = temperature,
|
| 27 |
frequency_penalty = 0,
|
| 28 |
presence_penalty = 0.6,
|
|
|
|
| 22 |
def chatbot(prompt, temperature = 0.2):
|
| 23 |
response = opai.ChatCompletion.create(
|
| 24 |
model = "gpt-3.5-turbo",
|
| 25 |
+
max_tokens = 1024,
|
| 26 |
temperature = temperature,
|
| 27 |
frequency_penalty = 0,
|
| 28 |
presence_penalty = 0.6,
|