nurindahpratiwi
commited on
Commit
·
1441895
1
Parent(s):
1c19d29
fix line
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def main():
|
|
77 |
st.title("PDF Summarization App using Language Model")
|
78 |
|
79 |
uploaded_file = st.file_uploader("Upload your PDF file", type=['pdf'])
|
80 |
-
maxlength = st.number_input("
|
81 |
|
82 |
if uploaded_file is not None:
|
83 |
if st.button("Summarize"):
|
|
|
77 |
st.title("PDF Summarization App using Language Model")
|
78 |
|
79 |
uploaded_file = st.file_uploader("Upload your PDF file", type=['pdf'])
|
80 |
+
maxlength = st.number_input("Length of token", min_value=32, max_value=1024, value=128, step=32)
|
81 |
|
82 |
if uploaded_file is not None:
|
83 |
if st.button("Summarize"):
|