diff --git a/misc/_webservice.py b/misc/_webservice.py index b006a1ba..d8107da6 100644 --- a/misc/_webservice.py +++ b/misc/_webservice.py @@ -234,7 +234,7 @@ if uploaded: st.download_button( label="Download output PDF", - data=input_file.read(), + data=output_file.read(), file_name=uploaded.name, mime="application/pdf", )