singhk28 commited on
Commit
6da3649
1 Parent(s): d79447d

Fix desired value prompt.

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -54,8 +54,7 @@ if mode_type == 'Parameter Search (find combination of parameters to get a desir
54
  opt_type = st.selectbox("What do you want to do with the output?", ('Maximize it', 'Minimize it', 'Obtain a desired value'))
55
  if opt_type == 'Obtain a desired value':
56
  desired_value = float(st.number_input("Enter the desired value for the target variable."))
57
- else:
58
- desired_value = st.text_input("Enter the desired target parameter value. This field is case sensitive. (i.e., capital letters must match.)", key="DV for Classifier")
59
  ## Ask for Dataset
60
  st.markdown(f'<h3 style="color:#000000;font-size:20px;">{"5) Upload CSV file "}</h3>', unsafe_allow_html=True)
61
  uploaded_file = st.file_uploader("Upload a CSV file", type="csv")
 
54
  opt_type = st.selectbox("What do you want to do with the output?", ('Maximize it', 'Minimize it', 'Obtain a desired value'))
55
  if opt_type == 'Obtain a desired value':
56
  desired_value = float(st.number_input("Enter the desired value for the target variable."))
57
+
 
58
  ## Ask for Dataset
59
  st.markdown(f'<h3 style="color:#000000;font-size:20px;">{"5) Upload CSV file "}</h3>', unsafe_allow_html=True)
60
  uploaded_file = st.file_uploader("Upload a CSV file", type="csv")