Update app.py
Browse files
app.py
CHANGED
|
@@ -168,7 +168,7 @@ def app2():
|
|
| 168 |
document.save(tempfile.gettempdir()+"/annott.pdf")
|
| 169 |
|
| 170 |
|
| 171 |
-
with c2:
|
| 172 |
#with open((tempfile.gettempdir()+"/annott.pdf"),"rb") as f:
|
| 173 |
# base64_pdf = base64.b64encode(f.read()).decode('utf-8')
|
| 174 |
#pdf_display = f'<embed src="data:application/pdf;base64,{base64_pdf}" width="800" height="800" type="application/pdf">'
|
|
|
|
| 168 |
document.save(tempfile.gettempdir()+"/annott.pdf")
|
| 169 |
|
| 170 |
|
| 171 |
+
#with c2:
|
| 172 |
#with open((tempfile.gettempdir()+"/annott.pdf"),"rb") as f:
|
| 173 |
# base64_pdf = base64.b64encode(f.read()).decode('utf-8')
|
| 174 |
#pdf_display = f'<embed src="data:application/pdf;base64,{base64_pdf}" width="800" height="800" type="application/pdf">'
|