Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
IsakNordgren
/
Summarize
like
1
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
0efbb5e
Summarize
/
app.py
IsakNordgren
Added trucation if the document has too many tokens
0efbb5e
about 1 year ago
raw
Copy download link
history
blame
Safe
196 Bytes
import
streamlit
as
st
from
summarize
import
Summarizer
def
main
():
st.title(
"Text Extractor and Summarizer"
)
summarizer = Summarizer(model =
"groq"
)
summarizer.run_app()
main()