From 47133d98bc5cf826d8d2cd40ef59e9b819a825b4 Mon Sep 17 00:00:00 2001 From: t29mato Date: Fri, 1 Mar 2024 11:07:05 +0900 Subject: [PATCH] Makes layout wide to support width in percentage #30 --- streamlit_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/streamlit_app.py b/streamlit_app.py index c586237..d6549b0 100644 --- a/streamlit_app.py +++ b/streamlit_app.py @@ -48,7 +48,8 @@ 'Get Help': 'https://github.com/lfoppiano/pdf-struct', 'Report a bug': "https://github.com/lfoppiano/pdf-struct/issues", 'About': "View the structures extracted by Grobid." - } + }, + layout='wide' ) with st.sidebar: @@ -192,7 +193,6 @@ def get_file_hash(fname): pdf_viewer( input=st.session_state['binary'], - width=700, annotations=annotations, pages_vertical_spacing=pages_vertical_spacing, annotation_outline_size=annotation_thickness,