Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
peb-peb/shravan
Rahul04052000
/
shravan
like
0
Sleeping
App
Files
Files
Community
ca9e7bd
shravan
/
summary.py
peb-peb
add summary topic sentiment features
ca9e7bd
over 1 year 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)