Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
peb-peb/shravan
Rahul04052000
/
shravan
like
0
Sleeping
App
Files
Files
Community
e3d3d89
shravan
/
summary.py
peb-peb
add summary topic sentiment features
ca9e7bd
about 1 year ago
raw
Copy download link
history
blame
No virus
181 Bytes
from
transformers
import
pipeline
def
summarizer
(
text
):
summ = pipeline(
"summarization"
, model=
"knkarthick/MEETING-SUMMARY-BART-LARGE-XSUM-SAMSUM-DIALOGSUM"
)
return
summ(text)