Spaces:
Build error
Build error
MarkusEssl
commited on
Commit
•
d9a76ba
1
Parent(s):
bc89d27
- pages/3_Verify.py +2 -2
pages/3_Verify.py
CHANGED
@@ -40,8 +40,8 @@ def select_document():
|
|
40 |
left, right = st.columns(2) # Create two columns
|
41 |
# dropdown box in left column
|
42 |
files = ["01_039_merged","01_068_merged", "02_042", "02_068","06_018_merged", "01_042_merged", "02_039", "02_043_merged", "03_018", "10_043"]
|
43 |
-
selection_left = str(left.selectbox('Select document to run inference 1',
|
44 |
-
selection_right = str(right.selectbox('Select document to run inference 2',
|
45 |
|
46 |
# select corresponding document image from media/documents
|
47 |
selection_image_left = MEDIA_ROOT+selection_left+'.png'
|
|
|
40 |
left, right = st.columns(2) # Create two columns
|
41 |
# dropdown box in left column
|
42 |
files = ["01_039_merged","01_068_merged", "02_042", "02_068","06_018_merged", "01_042_merged", "02_039", "02_043_merged", "03_018", "10_043"]
|
43 |
+
selection_left = str(left.selectbox('Select document to run inference 1', os.listdir(MEDIA_ROOT)))
|
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'
|