Spaces:
Runtime error
Runtime error
๐
Browse filesSigned-off-by: peter szemraj <peterszemraj@gmail.com>
- summarize.py +2 -1
summarize.py
CHANGED
@@ -163,7 +163,8 @@ def summarize_via_tokenbatches(
|
|
163 |
"summary_score": score,
|
164 |
}
|
165 |
gen_summaries.append(_sum)
|
166 |
-
logger.
|
|
|
167 |
pbar.update()
|
168 |
|
169 |
pbar.close()
|
|
|
163 |
"summary_score": score,
|
164 |
}
|
165 |
gen_summaries.append(_sum)
|
166 |
+
logger.debug(f"Score for batch: {score}. num chars: {len(repr(result))}")
|
167 |
+
logger.debug(f"Summary:\n\t{result}")
|
168 |
pbar.update()
|
169 |
|
170 |
pbar.close()
|