Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -100,7 +100,7 @@ def image_to_text(image_path):
|
|
100 |
|
101 |
def extract_table(pdf_path, page_num, table_num):
|
102 |
# Open the pdf file
|
103 |
-
pdf =
|
104 |
# Find the examined page
|
105 |
table_page = pdf.pages[page_num]
|
106 |
# Extract the appropriate table
|
|
|
100 |
|
101 |
def extract_table(pdf_path, page_num, table_num):
|
102 |
# Open the pdf file
|
103 |
+
pdf = received_pdf.pdf
|
104 |
# Find the examined page
|
105 |
table_page = pdf.pages[page_num]
|
106 |
# Extract the appropriate table
|