naveenvenkatesh commited on
Commit
6e417dd
1 Parent(s): 9eb59d5

Update summary_extractor.py

Browse files
Files changed (1) hide show
  1. summary_extractor.py +1 -1
summary_extractor.py CHANGED
@@ -34,7 +34,7 @@ class Extractor:
34
  List[str]: List of text content from each page.
35
  """
36
  try:
37
- loader = UnstructuredFileLoader(pdf_file_path)
38
  pages = loader.load_and_split()
39
  return pages
40
 
 
34
  List[str]: List of text content from each page.
35
  """
36
  try:
37
+ loader = UnstructuredFileLoader(pdf_file_path.name)
38
  pages = loader.load_and_split()
39
  return pages
40