Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
iamAI123
/
podsum
like
0
Sleeping
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
08a16dc
podsum
/
app.py
iamAI123
Update app.py
08a16dc
almost 2 years ago
raw
Copy download link
history
blame
Safe
222 Bytes
from
transformers
import
pipeline
import
gradio
as
gr
def
get_summary
(
text
):
classifier = pipeline(
"summarization"
)
return
classifier(text)
gr.Interface(fn=get_summary, inputs=
"text"
, outputs=
"text"
).launch()