Skip to content

Commit

Permalink
Update mdps.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ReddyUday63 authored Jun 10, 2024
1 parent d833883 commit cbea5f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mdps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit cbea5f6

Please sign in to comment.