dreji18 commited on
Commit
b9c48c2
1 Parent(s): 556ed4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="800", height="800")
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')