alanwnl commited on
Commit
929e633
·
1 Parent(s): cf7577a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -106,7 +106,7 @@ def generate_text(api_type, engine, openAI_key, openAI_base,
106
  openai.api_version = openAI_API_version
107
  openai.api_key = openAI_key
108
  completions = openai.ChatCompletion.create(engine=engine,
109
- max_tokens=4097,
110
  n=1,
111
  stop=None,
112
  temperature=temperature,
 
106
  openai.api_version = openAI_API_version
107
  openai.api_key = openAI_key
108
  completions = openai.ChatCompletion.create(engine=engine,
109
+ max_tokens=2048,
110
  n=1,
111
  stop=None,
112
  temperature=temperature,