manabb commited on
Commit
5398576
·
verified ·
1 Parent(s): 43e4363

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -297,10 +297,10 @@ def check_compliance(file): # FIXED: now streams
297
  yield from loop_function(df1) # FIXED: delegate yields
298
  else:
299
  yield "Unsupported file format"
300
- def check_compliance(file_name):
301
  if file_name.name.endswith(".pdf"):
302
  MANUAL_RULES = manualRules()
303
- dd=compliance_tech_pdf(file_name, client, MANUAL_RULES)
304
  kkk="<table>"
305
  kkk+=generate_html(dd)
306
  kkk+="</table>"
 
297
  yield from loop_function(df1) # FIXED: delegate yields
298
  else:
299
  yield "Unsupported file format"
300
+ def check_compliance_tech(file_name):
301
  if file_name.name.endswith(".pdf"):
302
  MANUAL_RULES = manualRules()
303
+ dd=compliance_tech(file_name, client, MANUAL_RULES)
304
  kkk="<table>"
305
  kkk+=generate_html(dd)
306
  kkk+="</table>"