nurindahpratiwi
commited on
Commit
·
dce9346
1
Parent(s):
e3b62d5
fix line
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def main():
|
|
51 |
st.title("PDF Summarization App using Language Model")
|
52 |
|
53 |
uploaded_file = st.file_uploader("Upload your PDF file", type=['pdf'])
|
54 |
-
maxlength = st.number_input("Length of token", min_value=32, max_value=1024,
|
55 |
|
56 |
if uploaded_file is not None:
|
57 |
if st.button("Summarize"):
|
|
|
51 |
st.title("PDF Summarization App using Language Model")
|
52 |
|
53 |
uploaded_file = st.file_uploader("Upload your PDF file", type=['pdf'])
|
54 |
+
maxlength = st.number_input("Length of token", min_value=32, max_value=1024, step=32, placeholder="Type a number (min 32)...")
|
55 |
|
56 |
if uploaded_file is not None:
|
57 |
if st.button("Summarize"):
|