Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -207,7 +207,7 @@ def create_bar_chart(df, view_type):
|
|
| 207 |
|
| 208 |
# Calculate the model order
|
| 209 |
df_model_order = df_fig.groupby("model")[["score"]].mean().reset_index()
|
| 210 |
-
model_order = df_model_order.sort_values(by="score", ascending=True)["
|
| 211 |
|
| 212 |
# Calculate mean score per model and embodiment
|
| 213 |
df_fig = df_fig.groupby(["model", "embodiment"])[["score"]].mean().reset_index()
|
|
|
|
| 207 |
|
| 208 |
# Calculate the model order
|
| 209 |
df_model_order = df_fig.groupby("model")[["score"]].mean().reset_index()
|
| 210 |
+
model_order = df_model_order.sort_values(by="score", ascending=True)["model"].tolist()
|
| 211 |
|
| 212 |
# Calculate mean score per model and embodiment
|
| 213 |
df_fig = df_fig.groupby(["model", "embodiment"])[["score"]].mean().reset_index()
|