Spaces:
Runtime error
Runtime error
debug app
Browse files
app.py
CHANGED
@@ -107,6 +107,10 @@ if __name__ == "__main__":
|
|
107 |
text_to_summarize = preprocess_text_for_abstractive_summarization(
|
108 |
tokenizer=abs_tokenizer, text=clean_txt
|
109 |
)
|
|
|
|
|
|
|
|
|
110 |
tmp_sum = abs_summarizer(
|
111 |
text_to_summarize,
|
112 |
max_length=abs_max_length,
|
|
|
107 |
text_to_summarize = preprocess_text_for_abstractive_summarization(
|
108 |
tokenizer=abs_tokenizer, text=clean_txt
|
109 |
)
|
110 |
+
|
111 |
+
print(text_to_summarize)
|
112 |
+
print(type(text_to_summarize))
|
113 |
+
print(len(text_to_summarize))
|
114 |
tmp_sum = abs_summarizer(
|
115 |
text_to_summarize,
|
116 |
max_length=abs_max_length,
|