Spaces:
Configuration error
Configuration error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -6
src/streamlit_app.py
CHANGED
|
@@ -18,7 +18,7 @@ tokenizer, model = load_model()
|
|
| 18 |
|
| 19 |
# ---- Streamlit App ----
|
| 20 |
st.title("Text Summarizer")
|
| 21 |
-
st.write("Generate concise
|
| 22 |
|
| 23 |
# ---- Input Area ----
|
| 24 |
article = st.text_area("Enter the article or passage to summarize:", height=250)
|
|
@@ -52,8 +52,4 @@ if st.button("Generate Summary"):
|
|
| 52 |
|
| 53 |
# ---- Output ----
|
| 54 |
st.subheader("Generated Summary:")
|
| 55 |
-
st.write(summary)
|
| 56 |
-
|
| 57 |
-
# ---- Footer ----
|
| 58 |
-
st.markdown("---")
|
| 59 |
-
st.markdown("Model powered by Transformers | Streamlit App by Ali Hamza")
|
|
|
|
| 18 |
|
| 19 |
# ---- Streamlit App ----
|
| 20 |
st.title("Text Summarizer")
|
| 21 |
+
st.write("Generate concise summariy.")
|
| 22 |
|
| 23 |
# ---- Input Area ----
|
| 24 |
article = st.text_area("Enter the article or passage to summarize:", height=250)
|
|
|
|
| 52 |
|
| 53 |
# ---- Output ----
|
| 54 |
st.subheader("Generated Summary:")
|
| 55 |
+
st.write(summary)
|
|
|
|
|
|
|
|
|
|
|
|