mobinln commited on
Commit
20afe9e
·
verified ·
1 Parent(s): 1d9d6ab
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def respond(
49
  )
50
 
51
  for message in completion:
52
- token = message['choices'][0]['delta']['content']
53
 
54
  response += token
55
  yield response
 
49
  )
50
 
51
  for message in completion:
52
+ token = message['choices'][0]['delta']['text']
53
 
54
  response += token
55
  yield response