Spaces:
Sleeping
Sleeping
Commit ·
0791c42
1
Parent(s): cb83969
Updated app.py
Browse files
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
|
| 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 = []
|