Tj commited on
Commit
23a8632
·
1 Parent(s): a9d9170

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ def generate_text(prompt, engine="text-davinci-003"):
104
  stop=None,
105
  temperature=0.7,
106
  )
107
- message = completions.choices[message = completions.choices[0].text
108
  return message
109
 
110
  def generate_answer(question,openAI_key):
 
104
  stop=None,
105
  temperature=0.7,
106
  )
107
+ message = completions.choices[0].text
108
  return message
109
 
110
  def generate_answer(question,openAI_key):