Closed SampadaShete closed 2 years ago
You will need to define the model like:
from summarizer import Summarizer
body = 'Text body that you want to summarize with BERT'
body2 = 'Something else you want to summarize with BERT'
model = Summarizer()
model(body)
model(body2)
NameError Traceback (most recent call last)