Spaces:
Sleeping
Sleeping
oush
Browse files
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 |
-
|
|
|
|
|
|
|
|
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.")
|