credent007 commited on
Commit
4aa0e2e
·
verified ·
1 Parent(s): e6c5e5e

Update inference.py

Browse files
Files changed (1) hide show
  1. inference.py +1 -0
inference.py CHANGED
@@ -403,6 +403,7 @@ def process_document(file_path):
403
  result = extract_part_json(image, part_name, model, processor, device)
404
  end = time.time()
405
  print("total time taken by the second model",end-start,"sec")
 
406
  result["page_number"] = idx
407
  page_results.append(result)
408
 
 
403
  result = extract_part_json(image, part_name, model, processor, device)
404
  end = time.time()
405
  print("total time taken by the second model",end-start,"sec")
406
+ print(result)
407
  result["page_number"] = idx
408
  page_results.append(result)
409