Update app.py
Browse files
app.py
CHANGED
@@ -231,7 +231,7 @@ def demo():
|
|
231 |
|
232 |
def process_pdfs():
|
233 |
# List all PDF files in the directory
|
234 |
-
pdf_files = [os.path.join(pdf_directory, file) for file in os.listdir(pdf_directory) if file.endswith(".
|
235 |
return pdf_files
|
236 |
|
237 |
# Create a dictionary with the necessary information
|
|
|
231 |
|
232 |
def process_pdfs():
|
233 |
# List all PDF files in the directory
|
234 |
+
pdf_files = [os.path.join(pdf_directory, file) for file in os.listdir(pdf_directory) if file.endswith(".txt")]
|
235 |
return pdf_files
|
236 |
|
237 |
# Create a dictionary with the necessary information
|