AeternumS commited on
Commit
fae8310
1 Parent(s): ecec68f
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -105,5 +105,9 @@ encrypted_data = client.quantize_encrypt_serialize(sample_data)
105
  encrypted_result = server.run(encrypted_data, serialized_evaluation_keys)
106
  result = client.deserialize_decrypt_dequantize(encrypted_result)
107
 
 
108
  st.write("### Encrypted Prediction Result")
109
- st.write(result)
 
 
 
 
105
  encrypted_result = server.run(encrypted_data, serialized_evaluation_keys)
106
  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.")