Marthee commited on
Commit
79e4b83
·
verified ·
1 Parent(s): d5b7e45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -413,7 +413,7 @@ def identify_headers_and_save_excel(pdf_path, model, llm_prompt):
413
  result = identify_headers_with_openrouter(pdf_path, model, llm_prompt)
414
 
415
  if not result:
416
-
417
  df = pd.DataFrame(result)
418
 
419
  # Save Excel to a file on disk
 
413
  result = identify_headers_with_openrouter(pdf_path, model, llm_prompt)
414
 
415
  if not result:
416
+ return None
417
  df = pd.DataFrame(result)
418
 
419
  # Save Excel to a file on disk