sarath-shekkizhar commited on
Commit
ccfa62c
1 Parent(s): 43a032b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def generate(
46
  )
47
  outputs = []
48
  for chunk in response:
49
- outputs.append(chunk.choices[0].delta.content.strip("<|eot_id|>"))
50
  yield "".join(outputs)
51
 
52
  except APIError as e:
 
46
  )
47
  outputs = []
48
  for chunk in response:
49
+ outputs.append(chunk.choices[0].delta.content)
50
  yield "".join(outputs)
51
 
52
  except APIError as e: