Spaces:
Runtime error
Runtime error
Update summarize.py
Browse files- summarize.py +2 -0
summarize.py
CHANGED
@@ -49,6 +49,8 @@ def bart_summarize(text: str):
|
|
49 |
|
50 |
# add the summary to the list of summaries
|
51 |
summaries.append(summary)
|
|
|
|
|
52 |
|
53 |
# # combine the summaries to get the final summary for the entire input
|
54 |
final_summary = " ".join(summaries)
|
|
|
49 |
|
50 |
# add the summary to the list of summaries
|
51 |
summaries.append(summary)
|
52 |
+
|
53 |
+
print(summary)
|
54 |
|
55 |
# # combine the summaries to get the final summary for the entire input
|
56 |
final_summary = " ".join(summaries)
|