Update summarize.py
Browse files- 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,
|