sujalrajpoot commited on
Commit
158a63d
·
verified ·
1 Parent(s): 664baac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def stream_response(query: str):
73
  if value:
74
  try:
75
  content = json.loads(value[5:])['choices'][0]['delta']['content']
76
- yield content + '\n'
77
  except:
78
  continue
79
 
 
73
  if value:
74
  try:
75
  content = json.loads(value[5:])['choices'][0]['delta']['content']
76
+ yield content + ' '
77
  except:
78
  continue
79