ShiwenNi commited on
Commit
931edf6
1 Parent(s): e08a9ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -64,7 +64,6 @@ class Reviewer:
64
 
65
  def extract_chapter(self, pdf_path):
66
  file_object = BytesIO(pdf_path)
67
- # 创建一个PDF阅读器对象
68
  pdf_reader = PyPDF2.PdfReader(file_object)
69
  # 获取PDF的总页数
70
  num_pages = len(pdf_reader.pages)
 
64
 
65
  def extract_chapter(self, pdf_path):
66
  file_object = BytesIO(pdf_path)
 
67
  pdf_reader = PyPDF2.PdfReader(file_object)
68
  # 获取PDF的总页数
69
  num_pages = len(pdf_reader.pages)