Spaces:
Running
Running
lesesuizuo
commited on
Commit
•
65a0752
1
Parent(s):
cea0ede
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def generate_text(prompt):
|
|
8 |
completions = openai.Completion.create(
|
9 |
engine="text-davinci-003",
|
10 |
prompt=prompt,
|
11 |
-
max_tokens=
|
12 |
n=1,
|
13 |
stop=None,
|
14 |
temperature=0.5,
|
|
|
8 |
completions = openai.Completion.create(
|
9 |
engine="text-davinci-003",
|
10 |
prompt=prompt,
|
11 |
+
max_tokens=1024,
|
12 |
n=1,
|
13 |
stop=None,
|
14 |
temperature=0.5,
|