Spaces:
Runtime error
Runtime error
bhaskartripathi
commited on
Commit
·
41123f1
1
Parent(s):
a039863
Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ def generate_text(openAI_key, prompt, model="gpt-3.5-turbo"):
|
|
126 |
],
|
127 |
temperature=.3,
|
128 |
max_tokens=max_tokens,
|
129 |
-
top_p=top_p
|
130 |
frequency_penalty=frequency_penalty,
|
131 |
presence_penalty=presence_penalty,
|
132 |
).choices[0].message['content']
|
|
|
126 |
],
|
127 |
temperature=.3,
|
128 |
max_tokens=max_tokens,
|
129 |
+
top_p=top_p,
|
130 |
frequency_penalty=frequency_penalty,
|
131 |
presence_penalty=presence_penalty,
|
132 |
).choices[0].message['content']
|