Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +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 |
-
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 |
|
|
|
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 |
|