Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def cleanup_text(text):
|
|
21 |
def detectarCatastro(pdf):
|
22 |
if pdf.endswith(".pdf"):
|
23 |
images = []
|
24 |
-
pdf = fitz.open(
|
25 |
# Iterar sobre cada página del PDF
|
26 |
for page_num in range(len(pdf)):
|
27 |
page = pdf.load_page(page_num)
|
|
|
21 |
def detectarCatastro(pdf):
|
22 |
if pdf.endswith(".pdf"):
|
23 |
images = []
|
24 |
+
pdf = fitz.open(pdf)
|
25 |
# Iterar sobre cada página del PDF
|
26 |
for page_num in range(len(pdf)):
|
27 |
page = pdf.load_page(page_num)
|