Skip to content

Commit

Permalink
fix annotations not being filtered
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Feb 15, 2024
1 parent ea72ca4 commit 3ddd71a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions streamlit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ def get_file_hash(fname):
if not highlight_affiliations:
annotations = list(filter(lambda a: a['type'] != '', st.session_state['annotations']))

component = pdf_viewer(
pdf_viewer(
input=st.session_state['binary'],
width=700,
annotations=st.session_state['annotations'],
annotations=annotations,
pages_vertical_spacing=pages_vertical_spacing,
annotation_outline_size=annotation_thickness,
pages_to_render=st.session_state['page_selection'],
Expand Down

0 comments on commit 3ddd71a

Please sign in to comment.