Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -821,7 +821,7 @@ else:
|
|
| 821 |
|
| 822 |
if state['decision_step'] == 'initial_order':
|
| 823 |
with st.form(key="initial_order_form"):
|
| 824 |
-
st.markdown("#### **Step
|
| 825 |
initial_order = st.number_input("Your Initial Order Quantity:", min_value=0, step=1, value=None) # Start blank
|
| 826 |
if st.form_submit_button("Submit Initial Order & See AI Suggestion", type="primary"):
|
| 827 |
state['human_initial_order'] = int(initial_order) if initial_order is not None else 0
|
|
@@ -843,7 +843,7 @@ else:
|
|
| 843 |
# -----------------------------------
|
| 844 |
|
| 845 |
with st.form(key="final_order_form"):
|
| 846 |
-
st.markdown(f"#### **Step
|
| 847 |
st.markdown("Considering the AI's advice, submit your **final** order to end the week. (This order will arrive in 3 weeks).")
|
| 848 |
st.number_input("Your Final Order Quantity:", min_value=0, step=1, key='final_order_input', value=None) # Start blank
|
| 849 |
|
|
|
|
| 821 |
|
| 822 |
if state['decision_step'] == 'initial_order':
|
| 823 |
with st.form(key="initial_order_form"):
|
| 824 |
+
st.markdown("#### **Step a:** Based on the dashboard, submit your **initial** order to the Factory.")
|
| 825 |
initial_order = st.number_input("Your Initial Order Quantity:", min_value=0, step=1, value=None) # Start blank
|
| 826 |
if st.form_submit_button("Submit Initial Order & See AI Suggestion", type="primary"):
|
| 827 |
state['human_initial_order'] = int(initial_order) if initial_order is not None else 0
|
|
|
|
| 843 |
# -----------------------------------
|
| 844 |
|
| 845 |
with st.form(key="final_order_form"):
|
| 846 |
+
st.markdown(f"#### **Step b:** The AI suggests ordering **{ai_suggestion}** units.")
|
| 847 |
st.markdown("Considering the AI's advice, submit your **final** order to end the week. (This order will arrive in 3 weeks).")
|
| 848 |
st.number_input("Your Final Order Quantity:", min_value=0, step=1, key='final_order_input', value=None) # Start blank
|
| 849 |
|