Izza-shahzad-13 commited on
Commit
536b821
·
verified ·
1 Parent(s): be256df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def extract_text_from_pdf(pdf_path):
19
  return text
20
 
21
  # Load and preprocess book PDFs
22
- pdf_files = ["Diagnostic and statistical manual of mental disorders _ DSM-5 ( PDFDrive.com ).pdf"]
23
  all_texts = [extract_text_from_pdf(pdf) for pdf in pdf_files]
24
 
25
  # Split text into chunks
 
19
  return text
20
 
21
  # Load and preprocess book PDFs
22
+ pdf_files = ["pakistan penal code.pdf"]
23
  all_texts = [extract_text_from_pdf(pdf) for pdf in pdf_files]
24
 
25
  # Split text into chunks