MarkusEssl commited on
Commit
d4a4e13
1 Parent(s): d9a76ba
Files changed (1) hide show
  1. pages/3_Verify.py +2 -2
pages/3_Verify.py CHANGED
@@ -44,10 +44,10 @@ def select_document():
44
  selection_right = str(right.selectbox('Select document to run inference 2', os.listdir(MEDIA_ROOT)))
45
 
46
  # select corresponding document image from media/documents
47
- selection_image_left = MEDIA_ROOT+selection_left+'.png'
48
  left.image(selection_image_left, use_column_width='always')
49
 
50
- selection_image_right = MEDIA_ROOT+selection_right+'.png'
51
  right.image(selection_image_right, use_column_width='always')
52
  return selection_image_left, selection_image_right
53
 
 
44
  selection_right = str(right.selectbox('Select document to run inference 2', os.listdir(MEDIA_ROOT)))
45
 
46
  # select corresponding document image from media/documents
47
+ selection_image_left = MEDIA_ROOT+selection_left
48
  left.image(selection_image_left, use_column_width='always')
49
 
50
+ selection_image_right = MEDIA_ROOT+selection_right
51
  right.image(selection_image_right, use_column_width='always')
52
  return selection_image_left, selection_image_right
53