Spaces:
Sleeping
Sleeping
Adding placeholder for content.py in the preparation of more content
Browse files- src/display.py +7 -2
src/display.py
CHANGED
@@ -87,7 +87,12 @@ def display_app():
|
|
87 |
figure = plot_radar_chart_name(dataframe=subdata, model_name=model_name)
|
88 |
st.plotly_chart(figure, use_container_width=True)
|
89 |
|
90 |
-
if grid_response['selected_rows'] is not None and len(grid_response['selected_rows']) >
|
91 |
-
|
|
|
|
|
|
|
|
|
|
|
92 |
else:
|
93 |
st.markdown("**Model name:** %s" % model_name)
|
|
|
87 |
figure = plot_radar_chart_name(dataframe=subdata, model_name=model_name)
|
88 |
st.plotly_chart(figure, use_container_width=True)
|
89 |
|
90 |
+
if grid_response['selected_rows'] is not None and len(grid_response['selected_rows']) > 1:
|
91 |
+
n_col = len(grid_response['selected_rows']) if len(grid_response['selected_rows']) <=3 else 3
|
92 |
+
st.markdown("## Models")
|
93 |
+
columns = st.columns(n_col)
|
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)
|