AeternumS commited on
Commit
45a5d68
1 Parent(s): fae8310
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ result = client.deserialize_decrypt_dequantize(encrypted_result)
107
 
108
  print(result)
109
  st.write("### Encrypted Prediction Result")
110
- if result[0] == 1:
111
  print("Prediction: The patient is likely to have heart disease.")
112
  else:
113
  print("Prediction: The patient is unlikely to have heart disease.")
 
107
 
108
  print(result)
109
  st.write("### Encrypted Prediction Result")
110
+ if result:
111
  print("Prediction: The patient is likely to have heart disease.")
112
  else:
113
  print("Prediction: The patient is unlikely to have heart disease.")