don770omr commited on
Commit
7284296
·
verified ·
1 Parent(s): c0d5304

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -72,10 +72,11 @@ for i in range(num_items):
72
  reduction_w_shttr = object_item_value['shutter'][option]['width']
73
  # Input fields for dimensions (width and height)
74
  with col23:
75
- reduction_h_shttr_new = st.number_input(f'Height Reduction for Glass (Item {i+1}):', key=f"reduction_h_{i}", min_value=0.0, value=float(reduction_h_glass), step=0.1)
 
76
 
77
  with col26:
78
- reduction_w_shttr_new = st.number_input(f'Width Reduction for Glass (Item {i+1})', key=f"reduction_w_{i}", min_value=0.0, value=float(reduction_w_glass), step=0.1)
79
 
80
  object_item_value['shutter'][option]['height'] = reduction_h_shttr_new
81
  object_item_value['shutter'][option]['width'] = reduction_w_shttr_new
 
72
  reduction_w_shttr = object_item_value['shutter'][option]['width']
73
  # Input fields for dimensions (width and height)
74
  with col23:
75
+ #col231, col232 = st.columns([2, 2])
76
+ reduction_h_shttr_new = st.number_input(f'Height Reduction for Shutter (Item {i+1}):', key=f"reduction_h_shttr_{i}", min_value=0.0, value=float(reduction_h_glass), step=0.1)
77
 
78
  with col26:
79
+ reduction_w_shttr_new = st.number_input(f'Width Reduction for Shutter (Item {i+1})', key=f"reduction_w_shttr_{i}", min_value=0.0, value=float(reduction_w_glass), step=0.1)
80
 
81
  object_item_value['shutter'][option]['height'] = reduction_h_shttr_new
82
  object_item_value['shutter'][option]['width'] = reduction_w_shttr_new