Spaces:
Sleeping
Sleeping
DSatishchandra
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from ALNISF import process_pdf as process_alnisf
|
|
3 |
from federal_electric import process_pdf as process_federal_electric
|
4 |
from bhel import process_pdf as process_bhel
|
5 |
|
6 |
-
#
|
7 |
def process_file(pdf_file, extractor):
|
8 |
"""
|
9 |
Processes the uploaded PDF using the selected extractor.
|
|
|
3 |
from federal_electric import process_pdf as process_federal_electric
|
4 |
from bhel import process_pdf as process_bhel
|
5 |
|
6 |
+
# Unified function to handle extractors
|
7 |
def process_file(pdf_file, extractor):
|
8 |
"""
|
9 |
Processes the uploaded PDF using the selected extractor.
|