Spaces:
Running
Running
EmreYY20
commited on
Commit
·
4cc82d1
1
Parent(s):
4afb214
update
Browse files
app.py
CHANGED
@@ -4,7 +4,6 @@ from extractive_model import summarize_pdf_with_textrank
|
|
4 |
st.title("PDF Summarization App")
|
5 |
|
6 |
pdf_file = st.file_uploader("Upload a PDF file", type=["pdf"])
|
7 |
-
summary_length = st.slider("Select the number of sentences for the summary", 1, 20, 10)
|
8 |
|
9 |
if pdf_file is not None and st.button("Summarize"):
|
10 |
# Save uploaded PDF to a temporary file
|
|
|
4 |
st.title("PDF Summarization App")
|
5 |
|
6 |
pdf_file = st.file_uploader("Upload a PDF file", type=["pdf"])
|
|
|
7 |
|
8 |
if pdf_file is not None and st.button("Summarize"):
|
9 |
# Save uploaded PDF to a temporary file
|