vithacocf commited on
Commit
e598c60
·
verified ·
1 Parent(s): b902076

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -174,7 +174,7 @@ def extract_pdf_note(file_path: str) -> str:
174
  text = (last_page.extract_text() or "").strip()
175
  lines = text.splitlines()
176
  note_text = "\n".join(lines[-12:]) # lấy ~12 dòng cuối
177
- print("📝 Extracted note text thành công.")
178
  return note_text
179
  except Exception as e:
180
  print(f"⚠️ extract_pdf_note lỗi: {e}")
 
174
  text = (last_page.extract_text() or "").strip()
175
  lines = text.splitlines()
176
  note_text = "\n".join(lines[-12:]) # lấy ~12 dòng cuối
177
+ print(f"📝 Extracted note text thành công.{note_text}")
178
  return note_text
179
  except Exception as e:
180
  print(f"⚠️ extract_pdf_note lỗi: {e}")