Update app_pages/ocr_comparator.py
Browse files
app_pages/ocr_comparator.py
CHANGED
@@ -876,7 +876,7 @@ def app():
|
|
876 |
cols = st.columns(2)
|
877 |
for ind_col in range(2):
|
878 |
ind = ind_lig + ind_col
|
879 |
-
if ind
|
880 |
if in_reader_type_list[ind] == 'Tesseract':
|
881 |
column_title = '<p style="font-size: 20px;color:rgb(0,0,0); \
|
882 |
">Recognition with ' + in_reader_type_list[ind] + \
|
|
|
876 |
cols = st.columns(2)
|
877 |
for ind_col in range(2):
|
878 |
ind = ind_lig + ind_col
|
879 |
+
if ind < len(in_reader_type_list):
|
880 |
if in_reader_type_list[ind] == 'Tesseract':
|
881 |
column_title = '<p style="font-size: 20px;color:rgb(0,0,0); \
|
882 |
">Recognition with ' + in_reader_type_list[ind] + \
|