tanveeshsingh commited on
Commit
be96440
·
1 Parent(s): a9a9e5f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ Now, please output the following as a JSON object:
53
  )
54
 
55
  # Get the response content
56
- output = completion['choices'][0]['message']['content']
57
 
58
  return output
59
 
 
53
  )
54
 
55
  # Get the response content
56
+ output = message.choices[0].message.content
57
 
58
  return output
59