Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
peb-peb/shravan
peb-peb
/
shravan_duplicate
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
3788fdf
shravan_duplicate
/
summary.py
peb-peb
Duplicate from peb-peb/shravan
3788fdf
almost 2 years ago
raw
Copy download link
history
blame
Safe
181 Bytes
from
transformers
import
pipeline
def
summarizer
(
text
):
summ = pipeline(
"summarization"
, model=
"knkarthick/MEETING-SUMMARY-BART-LARGE-XSUM-SAMSUM-DIALOGSUM"
)
return
summ(text)