Update app.py
Browse files44 unmodified lines4546474849505152534 unmodified lines5859606162636465666744 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 resultsst.subheader("Cost Calculation Results")# Calculate total costtotal_cost = cost * order_quantity# Display metricscol1, col2 = st.columns(2)with col1:44 unmodified lines4546474849504 unmodified lines5556575859606144 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")# Calculate buttonif st.button("Calculate Box Cost"):if not all([box_length, box_width, box_height, material_type, order_quantity]):4 unmodified lines# Display resultsst.subheader("Cost Calculation Results")# Display metricscol1, col2 = st.columns(2)with col1:
app.py+1-7