Update app.py
Browse files
app.py
CHANGED
@@ -174,7 +174,7 @@ def app2():
|
|
174 |
|
175 |
with open((tempfile.gettempdir()+"/annott.pdf"),"rb") as f:
|
176 |
base64_pdf = base64.b64encode(f.read()).decode('utf-8')
|
177 |
-
components.iframe("data:application/pdf;base64,{base64_pdf}", width=
|
178 |
|
179 |
#with open((tempfile.gettempdir()+"/annott.pdf"),"rb") as f:
|
180 |
# base64_pdf = base64.b64encode(f.read()).decode('utf-8')
|
|
|
174 |
|
175 |
with open((tempfile.gettempdir()+"/annott.pdf"),"rb") as f:
|
176 |
base64_pdf = base64.b64encode(f.read()).decode('utf-8')
|
177 |
+
components.iframe("data:application/pdf;base64,{base64_pdf}", width=800, height=800)
|
178 |
|
179 |
#with open((tempfile.gettempdir()+"/annott.pdf"),"rb") as f:
|
180 |
# base64_pdf = base64.b64encode(f.read()).decode('utf-8')
|