Spaces:
Sleeping
Sleeping
Adding placeholder for content.py in the preparation of more content
Browse files- 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)
|