Spaces:
Build error
Build error
Download app.py from MKhan24/summarizer: direct link, hf CLI and curl.
- Browser
- Download file 182 Bytes
-
https://huggingface.co/spaces/MKhan24/summarizer/resolve/main/app.py
- Command line
-
hf download hf://spaces/MKhan24/summarizer/app.py
-
curl -L -o app.py https://huggingface.co/spaces/MKhan24/summarizer/resolve/main/app.py
182 Bytes
| from transformers import pipeline | |
| import gradio as gr | |
| pipe = pipeline("summarization", model="Falconsai/text_summarization") | |
| demo = gr.Interface.from_pipeline(pipe) | |
| demo.launch() | |