webservice: fix download button downloads wrong file

This commit is contained in:
James R. Barlow
2025-02-26 18:42:50 -08:00
parent 7b2dd892e5
commit 6de6749062
+1 -1
View File
@@ -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",
)