Margerie commited on
Commit
369bdfc
1 Parent(s): 971c3e1

fixed index in input channels

Browse files
pages/1_👀_Technical_Specifications.py CHANGED
@@ -34,7 +34,7 @@ def cs_body():
34
  nlines = int(left.number_input("Input channels", 0, 20, 1))
35
  for i in range(nlines):
36
  type_input = middle.selectbox(f"Input type # {i}", list(struct_dict.keys()))
37
- right.selectbox("Input",struct_dict[type_input], help="From https://aapm.onlinelibrary.wiley.com/doi/pdf/10.1002/acm2.12701")
38
  st.text_input("Loss function",placeholder="MSE", key=persist("loss_function"))
39
  st.number_input("Batch size",value=1,key=persist("batch_size"))
40
  left, right = st.columns(2)
 
34
  nlines = int(left.number_input("Input channels", 0, 20, 1))
35
  for i in range(nlines):
36
  type_input = middle.selectbox(f"Input type # {i}", list(struct_dict.keys()))
37
+ right.selectbox("Input",struct_dict[type_input], key=i, help="From https://aapm.onlinelibrary.wiley.com/doi/pdf/10.1002/acm2.12701")
38
  st.text_input("Loss function",placeholder="MSE", key=persist("loss_function"))
39
  st.number_input("Batch size",value=1,key=persist("batch_size"))
40
  left, right = st.columns(2)