pierreguillou commited on
Commit
6e159ac
·
verified ·
1 Parent(s): 4973682

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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') # Définir ici
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