Error while summarizing

by Harsh6519 - opened

While I pass large paragraph in input then getting below error :
So Is there any way to increase input size.?

Screenshot from 2023-11-02 15-00-10.png

Your input text is probably too long. You need to truncate it:

summary = summarizer(text, min_length=10, max_length=200, truncation=True)

Sign up or log in to comment