Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -199,7 +199,7 @@ def process_pdf(pdf_file):
|
|
199 |
os.makedirs(output_dir, exist_ok=True)
|
200 |
|
201 |
path_to_data_to_extract = os.path.join(template_dir, "data_to_extract.json")
|
202 |
-
text_file_path = os.path.join(output_dir, 'extracted_text.txt')
|
203 |
|
204 |
try:
|
205 |
# Convert PDF to images and process
|
|
|
199 |
os.makedirs(output_dir, exist_ok=True)
|
200 |
|
201 |
path_to_data_to_extract = os.path.join(template_dir, "data_to_extract.json")
|
202 |
+
text_file_path = os.path.join(output_dir, 'extracted_text.txt')
|
203 |
|
204 |
try:
|
205 |
# Convert PDF to images and process
|