mobinln commited on
Commit
d1a0edb
1 Parent(s): 87fbcd1

fix: bug in response

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def respond(
38
  temperature=temperature,
39
  top_p=top_p,
40
  )
41
- return response["choices"][0]["message"]
42
 
43
 
44
  """
 
38
  temperature=temperature,
39
  top_p=top_p,
40
  )
41
+ return response["choices"][0]["message"]["content"]
42
 
43
 
44
  """