dwipper commited on
Commit
b8b339f
·
1 Parent(s): 92b395d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -329,7 +329,7 @@ def pdf_to_text(contract_file_cmpt, contract_text_tbox, file_name_tbox):
329
 
330
  def download_pdf(compliance_comments,contract_redline_html,file_name_tbox):
331
 
332
- config = pdfkit.configuration(wkhtmltopdf="/usr/local/bin/wkhtmltopdf")
333
  contract_redline_comments = "<h2><u>Contract Redline:</u></h2><br>"+contract_redline_html + "<br><h2><u>Compliance Comments:</u></h2><br>"+compliance_comments
334
  global pdf_download
335
  pdf_download = pdfkit.from_string(contract_redline_comments,None,configuration=config)
 
329
 
330
  def download_pdf(compliance_comments,contract_redline_html,file_name_tbox):
331
 
332
+ config = pdfkit.configuration(wkhtmltopdf="/tmp/pip-ephem-wheel-cache-4svwmn1h/wheels/c4/fe/24/47a8dabc269dcd143551749339e4d8bbc2ca2002ee03943027")
333
  contract_redline_comments = "<h2><u>Contract Redline:</u></h2><br>"+contract_redline_html + "<br><h2><u>Compliance Comments:</u></h2><br>"+compliance_comments
334
  global pdf_download
335
  pdf_download = pdfkit.from_string(contract_redline_comments,None,configuration=config)