Epoching commited on
Commit
363ad5e
·
1 Parent(s): e6a4538

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -29,6 +29,7 @@ tensor_to_image = ToPILImage()
29
  def run_fn(pdf_file_obj, question_text, input_topk):
30
 
31
  pdf = pdf_file_obj.name
 
32
  viz_images = dit_runner.get_dit_preds(pdf, score_threshold=0.5)
33
  entity_json = '{0}.json'.format(Path(pdf).name[:-4])
34
 
 
29
  def run_fn(pdf_file_obj, question_text, input_topk):
30
 
31
  pdf = pdf_file_obj.name
32
+ print('Running PDF: {0}'.format(pdf)
33
  viz_images = dit_runner.get_dit_preds(pdf, score_threshold=0.5)
34
  entity_json = '{0}.json'.format(Path(pdf).name[:-4])
35