Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
peb-peb
/
shravan
like
2
Runtime error
App
Files
Files
Community
main
shravan
/
summary.py
peb-peb
add summary topic sentiment features
ca9e7bd
over 1 year ago
raw
Copy download link
history
blame
contribute
delete
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)