NeuralGearheads commited on
Commit
7173a53
·
verified ·
1 Parent(s): 4c1c382

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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(breakdown.style.format("{:.1f}").hide_index(), height=220)
318
- st.markdown('</div>', unsafe_allow_html=True)
 
 
 
 
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