suredream commited on
Commit
6f1f43c
·
verified ·
1 Parent(s): e652a28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,7 +15,7 @@ PDF_HTML_iframe_template = (
15
  """<iframe src="{pdf_url}" width="100%" height="800"></iframe>"""
16
  )
17
 
18
- def display_PDF(st, pdf_file='https://huggingface.co/spaces/suredream/actoolv2/resolve/main/proforma%E2%80%8B-example.pdf'):
19
  # /Users/junxiong/Documents/aire/acToolV2/due-diligence-check-example.pdf
20
  pdf_file = open(pdf_file, 'rb')
21
  base64_pdf = base64.b64encode(pdf_file.read()).decode('utf-8')
@@ -144,7 +144,7 @@ with left:
144
  with proforma_section:
145
  pdf_container = st.container()
146
  with pdf_container:
147
- display_PDF(st, pdf_file='https://huggingface.co/spaces/suredream/actoolv2/resolve/main/proforma%E2%80%8B-example.pdf')
148
 
149
 
150
  with right:
 
15
  """<iframe src="{pdf_url}" width="100%" height="800"></iframe>"""
16
  )
17
 
18
+ def display_PDF(st, pdf_file='https://huggingface.co/spaces/suredream/actoolv2/resolve/main/due-diligence-check-example.pdf'):
19
  # /Users/junxiong/Documents/aire/acToolV2/due-diligence-check-example.pdf
20
  pdf_file = open(pdf_file, 'rb')
21
  base64_pdf = base64.b64encode(pdf_file.read()).decode('utf-8')
 
144
  with proforma_section:
145
  pdf_container = st.container()
146
  with pdf_container:
147
+ display_PDF(st, pdf_file='https://huggingface.co/spaces/suredream/actoolv2/resolve/main/proforma-example.pdf')
148
 
149
 
150
  with right: