Lilli98 commited on
Commit
8e1a33a
·
verified ·
1 Parent(s): a992894

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -892,7 +892,7 @@ else:
892
 
893
  if state['decision_step'] == 'initial_order':
894
  with st.form(key="initial_order_form"):
895
- st.markdown("#### **Step 4a:** Based on the dashboard, submit your **initial** order to the Factory.")
896
  initial_order = st.number_input("Your Initial Order Quantity:", min_value=0, step=1, value=None) # Start blank
897
  if st.form_submit_button("Submit Initial Order & See AI Suggestion", type="primary"):
898
  state['human_initial_order'] = int(initial_order) if initial_order is not None else 0
@@ -905,7 +905,7 @@ else:
905
  st.success(f"Your initial order was: **{state['human_initial_order']}** units.")
906
  ai_suggestion = state.get('current_ai_suggestion', 4) # Read stored value
907
  with st.form(key="final_order_form"):
908
- st.markdown(f"#### **Step 4b:** The AI suggests ordering **{ai_suggestion}** units.")
909
  st.markdown("Considering the AI's advice, submit your **final** order to end the week. (This order will arrive in 3 weeks).")
910
  st.number_input("Your Final Order Quantity:", min_value=0, step=1, key='final_order_input', value=None) # Start blank
911
 
 
892
 
893
  if state['decision_step'] == 'initial_order':
894
  with st.form(key="initial_order_form"):
895
+ st.markdown("#### **Step a:** Based on the dashboard, submit your **initial** order to the Factory.")
896
  initial_order = st.number_input("Your Initial Order Quantity:", min_value=0, step=1, value=None) # Start blank
897
  if st.form_submit_button("Submit Initial Order & See AI Suggestion", type="primary"):
898
  state['human_initial_order'] = int(initial_order) if initial_order is not None else 0
 
905
  st.success(f"Your initial order was: **{state['human_initial_order']}** units.")
906
  ai_suggestion = state.get('current_ai_suggestion', 4) # Read stored value
907
  with st.form(key="final_order_form"):
908
+ st.markdown(f"#### **Step b:** The AI suggests ordering **{ai_suggestion}** units.")
909
  st.markdown("Considering the AI's advice, submit your **final** order to end the week. (This order will arrive in 3 weeks).")
910
  st.number_input("Your Final Order Quantity:", min_value=0, step=1, key='final_order_input', value=None) # Start blank
911