waleed-12 commited on
Commit
3004889
·
verified ·
1 Parent(s): 3472bbd

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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 summaries from long articles using a fine-tuned Encoder–Decoder model.")
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)