Blaise-g commited on
Commit
53df08c
β€’
1 Parent(s): 8f14423

Update summarize.py

Browse files
Files changed (1) hide show
  1. summarize.py +1 -1
summarize.py CHANGED
@@ -119,7 +119,7 @@ def summarize_via_tokenbatches(
119
  **kwargs,
120
  )
121
  score = round(float(score), 4)
122
- rate = round(float(len(_id)-l)/len(_id)),3)
123
  _sum = {
124
  "input_tokens": _id,
125
  "summary": result,
 
119
  **kwargs,
120
  )
121
  score = round(float(score), 4)
122
+ rate = round(float((len(_id)-l)/len(_id)),3)
123
  _sum = {
124
  "input_tokens": _id,
125
  "summary": result,