webservice: fix download button downloads wrong file
This commit is contained in:
+1
-1
@@ -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",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user