Duplicated from peb-peb/shravan
ca9e7bd
1
2
3
4
5
6
from transformers import pipeline def summarizer(text): summ = pipeline("summarization", model="knkarthick/MEETING-SUMMARY-BART-LARGE-XSUM-SAMSUM-DIALOGSUM") return summ(text)