heerjtdev commited on
Commit
0b7b748
·
verified ·
1 Parent(s): 4230d1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -355,8 +355,8 @@ def run_single_pdf_preprocessing(pdf_path: str) -> Tuple[int, int, int, str, flo
355
 
356
 
357
  if os.path.exists(OUTPUT_DIR):
358
- shutil.rmtree(OUTPUT_DIR)
359
- os.makedirs(OUTPUT_DIR, exist_ok=True)
360
 
361
 
362
  # 1. Validation and Model Loading
 
355
 
356
 
357
  if os.path.exists(OUTPUT_DIR):
358
+ shutil.rmtree(OUTPUT_DIR)
359
+ os.makedirs(OUTPUT_DIR, exist_ok=True)
360
 
361
 
362
  # 1. Validation and Model Loading