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