wannaphong commited on
Commit
0e790fa
1 Parent(s): df4d3cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ def respond(
102
  for chunk in stream:
103
  delta = chunk['choices'][0]['delta']
104
  if 'content' in delta:
105
- tokens = delta['content'].split()
106
  for token in tokens:
107
  outputs+=token
108
  yield outputs
 
102
  for chunk in stream:
103
  delta = chunk['choices'][0]['delta']
104
  if 'content' in delta:
105
+ tokens = delta['content']#.split()
106
  for token in tokens:
107
  outputs+=token
108
  yield outputs