psyne commited on
Commit
6fd651c
1 Parent(s): 657434d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ def load_recommender(paths, start_page=1):
103
  return 'Corpus Loaded.'
104
 
105
 
106
- def generate_text(prompt, engine="mlsgpt3"):
107
  completions = openai.Completion.create(
108
  engine=engine,
109
  prompt=prompt,
 
103
  return 'Corpus Loaded.'
104
 
105
 
106
+ def generate_text(prompt, engine=os.environ('Engine')):
107
  completions = openai.Completion.create(
108
  engine=engine,
109
  prompt=prompt,