Sadmo commited on
Commit
24cdf25
·
verified ·
1 Parent(s): a23bb44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def respond(message, history):
18
  max_tokens=100, # change the length of message
19
  stream = True,
20
  ):
21
- token = messages.choices[0].delta.content
22
  response += token
23
  yield response
24
 
 
18
  max_tokens=100, # change the length of message
19
  stream = True,
20
  ):
21
+ token = message.choices[0].delta.content
22
  response += token
23
  yield response
24