Error while summarizing
#61
by
Harsh6519
- opened
Your input text is probably too long. You need to truncate it:
summary = summarizer(text, min_length=10, max_length=200, truncation=True)
Your input text is probably too long. You need to truncate it:
summary = summarizer(text, min_length=10, max_length=200, truncation=True)