orionweller commited on
Commit
25d2b51
·
1 Parent(s): 68f913d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -95,6 +95,7 @@ col1, col2 = st.columns([1, 2], gap="medium")
95
  incorrect = 0
96
  is_better_run1_count = 0
97
  is_better_run2_count = 0
 
98
  with col1:
99
  st.title("Instances")
100
  if run1_file is not None:
@@ -141,7 +142,7 @@ with col1:
141
 
142
 
143
  with col2:
144
- st.title(f"Information ({len(checkboxes) - 1}/{len(name_of_columns) - 1})")
145
  ### Only one run file
146
  if run1_file is not None and run2_file is None:
147
  for check_idx, (inst_num, checkbox) in enumerate(checkboxes):
 
95
  incorrect = 0
96
  is_better_run1_count = 0
97
  is_better_run2_count = 0
98
+ checkboxes = None
99
  with col1:
100
  st.title("Instances")
101
  if run1_file is not None:
 
142
 
143
 
144
  with col2:
145
+ st.title(f"Information ({len(checkboxes) - 1 if checkboxes else 0}/{len(name_of_columns) - 1})")
146
  ### Only one run file
147
  if run1_file is not None and run2_file is None:
148
  for check_idx, (inst_num, checkbox) in enumerate(checkboxes):