yiw commited on
Commit
d6a16ee
·
1 Parent(s): 1c0d9f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def main():
24
  # clicked==True only when the button is clicked
25
  clicked = st.form_submit_button("Predict Drug")
26
  if clicked:
27
- result=model.predict(pd.DataFrame({"age": [Age],
28
  "BP": [BP],
29
  "Cholesterol": [Cholesterol],
30
  "sex": [Sex],
 
24
  # clicked==True only when the button is clicked
25
  clicked = st.form_submit_button("Predict Drug")
26
  if clicked:
27
+ result=model.predict(pd.DataFrame({"Age": [Age],
28
  "BP": [BP],
29
  "Cholesterol": [Cholesterol],
30
  "sex": [Sex],