Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -297,7 +297,7 @@ 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
|
| 301 |
if file_name.name.endswith(".pdf"):
|
| 302 |
MANUAL_RULES = manualRules()
|
| 303 |
dd=compliance_tech_pdf(file_name, client, MANUAL_RULES)
|
|
|
|
| 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)
|