AeternumS commited on
Commit
ad630a2
1 Parent(s): 4eee2c5
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ result = client.deserialize_decrypt_dequantize(encrypted_result)
118
  st.success("Done!")
119
 
120
  st.write("#### Encrypted Prediction Result")
121
- if result:
122
  st.write("Prediction: The patient is likely to have heart disease.")
123
  else:
124
  st.write("Prediction: The patient is unlikely to have heart disease.")
 
118
  st.success("Done!")
119
 
120
  st.write("#### Encrypted Prediction Result")
121
+ if result.any():
122
  st.write("Prediction: The patient is likely to have heart disease.")
123
  else:
124
  st.write("Prediction: The patient is unlikely to have heart disease.")