Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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({"
|
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],
|