nurindahpratiwi
commited on
Commit
•
159ae14
1
Parent(s):
ffd082a
fix line
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def display_pdf(file):
|
|
50 |
def main():
|
51 |
st.title("PDF Summarization App using Language Model")
|
52 |
uploaded_file = st.file_uploader("Upload your PDF file", type=['pdf'])
|
53 |
-
maxlength = st.
|
54 |
|
55 |
if uploaded_file is not None:
|
56 |
if st.button("Summarize"):
|
|
|
50 |
def main():
|
51 |
st.title("PDF Summarization App using Language Model")
|
52 |
uploaded_file = st.file_uploader("Upload your PDF file", type=['pdf'])
|
53 |
+
maxlength = st.slider(label="Token Length", min_value=32, max_value=1024, step=32, value=1024)
|
54 |
|
55 |
if uploaded_file is not None:
|
56 |
if st.button("Summarize"):
|