bhaskartripathi commited on
Commit
ed3b881
1 Parent(s): 911d8f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ def generate_text(openAI_key,prompt, engine="text-davinci-003"):
102
  completions = openai.Completion.create(
103
  engine=engine,
104
  prompt=prompt,
105
- max_tokens=3500,
106
  n=1,
107
  stop=None,
108
  temperature=0.7,
 
102
  completions = openai.Completion.create(
103
  engine=engine,
104
  prompt=prompt,
105
+ max_tokens=512,
106
  n=1,
107
  stop=None,
108
  temperature=0.7,