Update app.py
Browse files49 unmodified lines505152535455565758596061626364656667686970717273747576777849 unmodified linesst.subheader("Cost Calculation Results")st.metric("Estimated Cost", f"${cost:.4f}")# Display calculation detailsst.markdown("### Calculation Details")st.markdown(f"""**Your Values:**```((2 × {box_length} + 2 × {box_width} + 1.5) × {box_height}) ÷ 144 = {blank_area:.4f} sq ft```**Material Cost Factor:**```{material_type}: ${material_cost_factor} per sq ft```Where:- 32 ECT C-Flute = $0.10 per sq ft- 44 ECT C-Flute = $0.15 per sq ft- 200# C-Flute = $0.08 per sq ft**Total Cost:**```{blank_area:.4f} sq ft × ${material_cost_factor} = ${cost:.4f}```""".replace("material_cost_factor", "0.10" if material_type == "32 ECT C-Flute" else "0.15" if material_type == "44 ECT C-Flute" else "0.08"))# Information about factors affecting box cost (fixed to ensure it displays)st.subheader("Factors Affecting Box Cost")49 unmodified lines50515253545549 unmodified linesst.subheader("Cost Calculation Results")st.metric("Estimated Cost", f"${cost:.4f}")# Information about factors affecting box cost (fixed to ensure it displays)st.subheader("Factors Affecting Box Cost")
app.py-23