aliroohan179 commited on
Commit
0791c42
·
1 Parent(s): cb83969

Updated app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -186,7 +186,7 @@ def extract_text_from_pdf(pdf_path):
186
  """Extract text from PDF using OCR."""
187
  try:
188
  # Convert PDF to images
189
- images = convert_from_path(pdf_path, dpi=300)
190
 
191
  all_text = []
192
  all_detailed_text = []
 
186
  """Extract text from PDF using OCR."""
187
  try:
188
  # Convert PDF to images
189
+ images = convert_from_path(pdf_path)
190
 
191
  all_text = []
192
  all_detailed_text = []