emma-yay commited on
Commit
1e57069
·
verified ·
1 Parent(s): 87ae6e3
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,8 +24,8 @@ If the user gets too personal, remind them that YOU ARE NOT A PROFESSIONAL; THEY
24
  )
25
  return respond.choices[0].message.content.strip()
26
  respond= ""
27
- for messagge in stream:
28
- token=message.choices[0].delta.content
29
  if respond:
30
  respond+=token
31
  yield repond
 
24
  )
25
  return respond.choices[0].message.content.strip()
26
  respond= ""
27
+ for messagge in stream:
28
+ token=message.choices[0].delta.content
29
  if respond:
30
  respond+=token
31
  yield repond