vishwask commited on
Commit
f314b58
·
verified ·
1 Parent(s): 8f27bab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -238,7 +238,9 @@ def demo():
238
 
239
  def process_pdfs():
240
  # List all PDF files in the directory
241
- pdf_files = [os.path.join(pdf_directory, file) for file in os.listdir(pdf_directory) if file.endswith(".html")]
 
 
242
  return pdf_files
243
 
244
  # Create a dictionary with the necessary information
 
238
 
239
  def process_pdfs():
240
  # List all PDF files in the directory
241
+ #pdf_files = [os.path.join(pdf_directory, file) for file in os.listdir(pdf_directory) if file.endswith(".html")]
242
+ pdf_files = [os.path.join(pdf_directory, file) for file in os.listdir(pdf_directory)]
243
+ print('pdf files: ',len(pdf_files))
244
  return pdf_files
245
 
246
  # Create a dictionary with the necessary information