Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,12 @@ def compare_handouts(old_pdf, new_pdf, lo_file):
|
|
| 35 |
old_text = extract_text_from_pdf(old_pdf)
|
| 36 |
new_text = extract_text_from_pdf(new_pdf)
|
| 37 |
los = extract_los(lo_file)
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
if not old_text or not new_text:
|
| 40 |
return "❗ One or both PDFs may not contain extractable text."
|
| 41 |
|
|
|
|
| 35 |
old_text = extract_text_from_pdf(old_pdf)
|
| 36 |
new_text = extract_text_from_pdf(new_pdf)
|
| 37 |
los = extract_los(lo_file)
|
| 38 |
+
print(old_text)
|
| 39 |
+
print("\n")
|
| 40 |
+
print(new_text)
|
| 41 |
+
print("\n")
|
| 42 |
+
print(los)
|
| 43 |
+
|
| 44 |
if not old_text or not new_text:
|
| 45 |
return "❗ One or both PDFs may not contain extractable text."
|
| 46 |
|