Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ def main():
|
|
105 |
aca_axis = st.number_input('Enter ACA Axis:', step=1)
|
106 |
|
107 |
if st.button('Predict!'):
|
108 |
-
astigmatism = predict_astigmatism(age,
|
109 |
st.success(f'Predicted Astigmatism: {astigmatism:.4f}')
|
110 |
|
111 |
if __name__ == '__main__':
|
|
|
105 |
aca_axis = st.number_input('Enter ACA Axis:', step=1)
|
106 |
|
107 |
if st.button('Predict!'):
|
108 |
+
astigmatism = predict_astigmatism(age, aca_axis, aca_magnitude)
|
109 |
st.success(f'Predicted Astigmatism: {astigmatism:.4f}')
|
110 |
|
111 |
if __name__ == '__main__':
|