mirror of
https://github.com/ocrmypdf/OCRmyPDF.git
synced 2025-06-26 23:49:59 +00:00
webservice: fix download button downloads wrong file
This commit is contained in:
parent
7b2dd892e5
commit
6de6749062
@ -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",
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user