From cbea5f6ed10ab603d2c9da27d0f43b5237711f99 Mon Sep 17 00:00:00 2001 From: ReddyUday63 <106460907+ReddyUday63@users.noreply.github.com> Date: Mon, 10 Jun 2024 21:44:57 +0530 Subject: [PATCH] Update mdps.py --- mdps.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mdps.py b/mdps.py index bd8a430..0a41fbf 100644 --- a/mdps.py +++ b/mdps.py @@ -112,6 +112,5 @@ # Code for Prediction if st.button("Parkinson's Test Result 🤞🏼"): parkinsons_prediction = parkinsons_model.predict([user_input]) - result = "The person has Parkinson's disease 😢" if parkinsons_prediction[ - 0] == 1 else "The person does not have Parkinson's disease 🤩" + result = "The person has Parkinson's disease 😢" if parkinsons_prediction[0] == 1 else "The person does not have Parkinson's disease 🤩" st.success(result)