diff --git a/streamlit_pdf_viewer/__init__.py b/streamlit_pdf_viewer/__init__.py index 71e9523a..0c17a49d 100644 --- a/streamlit_pdf_viewer/__init__.py +++ b/streamlit_pdf_viewer/__init__.py @@ -6,7 +6,7 @@ import streamlit.components.v1 as components import json -_RELEASE = False +_RELEASE = True if not _RELEASE: _component_func = components.declare_component( @@ -87,6 +87,5 @@ def pdf_viewer(input: Union[str, Path, bytes], width: int = 700, height: int = N binary, height=700, width=800, - annotations=annotations, - rendering="legacy_embed" + annotations=annotations )