Spaces:
Sleeping
Sleeping
import streamlit as st | |
from transformers import pipeline | |
# Load the summarization pipeline from Hugging Face | |
summarizer = pipeline("summarization", model="Suhaib-27/check") | |
# Streamlit interface | |
st.title("Text Summarization App") | |
# get the topic | |
text = st.text_area("Enter your desired Topic of Blog") | |
if text: | |
summarizer(text) | |
st.write(zero_output) | |