Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -145,7 +145,7 @@ def create_bar_chart(df, view_type):
|
|
| 145 |
x=df['Model'],
|
| 146 |
y=df['Total Score'],
|
| 147 |
orientation='v',
|
| 148 |
-
marker_color=px.colors.sequential.
|
| 149 |
text=df['Total Score'].round(1),
|
| 150 |
textposition='outside',
|
| 151 |
)
|
|
@@ -286,7 +286,7 @@ st.caption("🔹 Note: Lower scores indicate better performance.")
|
|
| 286 |
|
| 287 |
# Detailed table
|
| 288 |
with st.expander("View Detailed Scores"):
|
| 289 |
-
st.dataframe(df.style.background_gradient(cmap='
|
| 290 |
|
| 291 |
with st.expander("How to Test Your Model", expanded=True):
|
| 292 |
# Step 1
|
|
|
|
| 145 |
x=df['Model'],
|
| 146 |
y=df['Total Score'],
|
| 147 |
orientation='v',
|
| 148 |
+
marker_color=px.colors.sequential.Blues,
|
| 149 |
text=df['Total Score'].round(1),
|
| 150 |
textposition='outside',
|
| 151 |
)
|
|
|
|
| 286 |
|
| 287 |
# Detailed table
|
| 288 |
with st.expander("View Detailed Scores"):
|
| 289 |
+
st.dataframe(df.style.background_gradient(cmap='Blues_r', subset=df.columns[1:]), width="stretch")
|
| 290 |
|
| 291 |
with st.expander("How to Test Your Model", expanded=True):
|
| 292 |
# Step 1
|