Spaces:
Runtime error
Runtime error
debug
Browse files
app.py
CHANGED
@@ -81,6 +81,7 @@ if __name__ == "__main__":
|
|
81 |
text_to_summarize = preprocess_text_for_abstractive_summarization(
|
82 |
tokenizer=abs_tokenizer, text=clean_txt
|
83 |
)
|
|
|
84 |
tmp_sum = abs_summarizer(text_to_summarize, do_sample=False)
|
85 |
|
86 |
summarized_text = " ".join([summ["summary_text"] for summ in tmp_sum])
|
|
|
81 |
text_to_summarize = preprocess_text_for_abstractive_summarization(
|
82 |
tokenizer=abs_tokenizer, text=clean_txt
|
83 |
)
|
84 |
+
print(text_to_summarize)
|
85 |
tmp_sum = abs_summarizer(text_to_summarize, do_sample=False)
|
86 |
|
87 |
summarized_text = " ".join([summ["summary_text"] for summ in tmp_sum])
|