dimbyTa commited on
Commit
174296d
1 Parent(s): 1f586be

Adding placeholder for content.py in the preparation of more content

Browse files
Files changed (1) hide show
  1. src/display.py +3 -1
src/display.py CHANGED
@@ -94,5 +94,7 @@ def display_app():
94
  for i in range(n_col):
95
  with columns[i]:
96
  st.markdown("**Model name:** %s" % grid_response['selected_rows'][i]["model_name"])
 
 
97
  else:
98
- st.markdown("**Model name:** %s" % model_name)
 
94
  for i in range(n_col):
95
  with columns[i]:
96
  st.markdown("**Model name:** %s" % grid_response['selected_rows'][i]["model_name"])
97
+ elif grid_response['selected_rows'] is not None and len(grid_response['selected_rows']) == 1:
98
+ st.markdown("**Model name:** %s" % grid_response['selected_rows'][0]["model_name"])
99
  else:
100
+ st.markdown("**Model name:** %s" % model_name)