Update app.py
Browse files
app.py
CHANGED
@@ -168,7 +168,7 @@ def app2():
|
|
168 |
|
169 |
hy.download_button(label="📥 Download Annotated PDF",
|
170 |
data=PDFbyte,
|
171 |
-
file_name="
|
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:
|