Update app.py
Browse files44 unmodified lines4546474849504849504 unmodified lines555657616263645859606144 unmodified lineswith col2: current_price = st.number_input("Current Price per Box ($) (optional)", min_value=0.0, value=0.0, step=0.01, format="%.4f")
# Order quantity inputorder_quantity = st.number_input("Order Quantity*", min_value=1, value=1000, step=100)
# Calculate buttonif st.button("Calculate Box Cost"): if not all([box_length, box_width, box_height, material_type, order_quantity]):4 unmodified lines # Display results st.subheader("Cost Calculation Results") # Calculate total cost total_cost = cost * order_quantity # Display metrics col1, col2 = st.columns(2) with col1:app.py+1-7