dreji18 commited on
Commit
a5e67b4
1 Parent(s): 8c9d6ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -168,7 +168,7 @@ def app2():
168
 
169
  hy.download_button(label="📥 Download Annotated PDF",
170
  data=PDFbyte,
171
- file_name="annotated.pdf",
172
  mime='application/octet-stream')
173
 
174
  #with open((tempfile.gettempdir()+"/annott.pdf"),"rb") as f:
 
168
 
169
  hy.download_button(label="📥 Download Annotated PDF",
170
  data=PDFbyte,
171
+ file_name=uploaded_file.name+"_annotated.pdf",
172
  mime='application/octet-stream')
173
 
174
  #with open((tempfile.gettempdir()+"/annott.pdf"),"rb") as f: