Spaces:
Build error
Build error
Download app.py from deepanshudey/Demo: direct link, hf CLI and curl.
- Browser
- Download file 234 Bytes
-
https://huggingface.co/spaces/deepanshudey/Demo/resolve/main/app.py
- Command line
-
hf download hf://spaces/deepanshudey/Demo/app.py
-
curl -L -o app.py https://huggingface.co/spaces/deepanshudey/Demo/resolve/main/app.py
234 Bytes
| import streamlit as st | |
| from model import * | |
| article = user_input = st.text_area("Enter the article/ TEXT") | |
| with st.spinner('Generating Summary...'): | |
| output = predict(article) | |
| st.header(f'Summary:\n\n') | |
| st.subheader(output) |