KushwanthK commited on
Commit
bd9fc9a
·
verified ·
1 Parent(s): c74c9d0

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -316,7 +316,7 @@ import io
316
 
317
  def display_highlighted_pdf(file_path, text_to_highlight):
318
  # Open the PDF document
319
- doc = fitz.open(file_path)
320
 
321
  # Iterate over each page in the PDF
322
  for page_index in range(len(doc)):
 
316
 
317
  def display_highlighted_pdf(file_path, text_to_highlight):
318
  # Open the PDF document
319
+ doc = pymupdf.open(file_path)
320
 
321
  # Iterate over each page in the PDF
322
  for page_index in range(len(doc)):