Spaces:
Runtime error
Runtime error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +6 -2
src/streamlit_app.py
CHANGED
|
@@ -314,8 +314,12 @@ with right:
|
|
| 314 |
"component": ["Model base", "Cam", "Headers", "Intake Manifold", "Intercooler", "Turbo Size", "Boost", "Meth", "Exhaust Dia"],
|
| 315 |
"hp": [pred_base, cam_gain, headers_gain, intake_man_gain, intercooler_gain, turbo_size_gain, boost_gain * 0.9, meth_gain, exhaust_dia_gain]
|
| 316 |
})
|
| 317 |
-
st.dataframe(
|
| 318 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 319 |
|
| 320 |
st.markdown("---")
|
| 321 |
# performance badge description
|
|
|
|
| 314 |
"component": ["Model base", "Cam", "Headers", "Intake Manifold", "Intercooler", "Turbo Size", "Boost", "Meth", "Exhaust Dia"],
|
| 315 |
"hp": [pred_base, cam_gain, headers_gain, intake_man_gain, intercooler_gain, turbo_size_gain, boost_gain * 0.9, meth_gain, exhaust_dia_gain]
|
| 316 |
})
|
| 317 |
+
st.dataframe(
|
| 318 |
+
breakdown.style.format("{:.1f}"),
|
| 319 |
+
height=220,
|
| 320 |
+
use_container_width=True
|
| 321 |
+
)
|
| 322 |
+
|
| 323 |
|
| 324 |
st.markdown("---")
|
| 325 |
# performance badge description
|