Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -124,21 +124,21 @@ def main():
|
|
124 |
# Input fields using session state
|
125 |
st.markdown('<p style="font-size: 24px; color: white;">Enter Patient Age (18-90 Years):</p>', unsafe_allow_html=True)
|
126 |
#age = st.number_input('Enter Patient Age (18-90 Years):',
|
127 |
-
age = st.number_input(
|
128 |
min_value=18.0, max_value=90.0,
|
129 |
value=st.session_state.age if st.session_state.age is not None else None,
|
130 |
step=0.1,
|
131 |
key='age')
|
132 |
st.markdown('<p style="font-size: 24px; color: white;">Enter ACA Magnitude (0-10 Diopters):</p>', unsafe_allow_html=True)
|
133 |
#aca_magnitude = st.number_input('Enter ACA Magnitude (0-10 Diopters):',
|
134 |
-
aca_magnitude = st.number_input(
|
135 |
min_value=0.0, max_value=10.0,
|
136 |
value=st.session_state.aca_magnitude if st.session_state.aca_magnitude is not None else None,
|
137 |
step=0.01,
|
138 |
key='aca_magnitude')
|
139 |
st.markdown('<p style="font-size: 24px; color: white;">Enter ACA Axis (0-180 Degrees):</p>', unsafe_allow_html=True)
|
140 |
#aca_axis = st.number_input('Enter ACA Axis (0-180 Degrees):',
|
141 |
-
aca_axis = st.number_input(
|
142 |
min_value=0.0, max_value=180.0,
|
143 |
value=st.session_state.aca_axis if st.session_state.aca_axis is not None else None,
|
144 |
step=0.1,
|
|
|
124 |
# Input fields using session state
|
125 |
st.markdown('<p style="font-size: 24px; color: white;">Enter Patient Age (18-90 Years):</p>', unsafe_allow_html=True)
|
126 |
#age = st.number_input('Enter Patient Age (18-90 Years):',
|
127 |
+
age = st.number_input('',
|
128 |
min_value=18.0, max_value=90.0,
|
129 |
value=st.session_state.age if st.session_state.age is not None else None,
|
130 |
step=0.1,
|
131 |
key='age')
|
132 |
st.markdown('<p style="font-size: 24px; color: white;">Enter ACA Magnitude (0-10 Diopters):</p>', unsafe_allow_html=True)
|
133 |
#aca_magnitude = st.number_input('Enter ACA Magnitude (0-10 Diopters):',
|
134 |
+
aca_magnitude = st.number_input('',
|
135 |
min_value=0.0, max_value=10.0,
|
136 |
value=st.session_state.aca_magnitude if st.session_state.aca_magnitude is not None else None,
|
137 |
step=0.01,
|
138 |
key='aca_magnitude')
|
139 |
st.markdown('<p style="font-size: 24px; color: white;">Enter ACA Axis (0-180 Degrees):</p>', unsafe_allow_html=True)
|
140 |
#aca_axis = st.number_input('Enter ACA Axis (0-180 Degrees):',
|
141 |
+
aca_axis = st.number_input('',
|
142 |
min_value=0.0, max_value=180.0,
|
143 |
value=st.session_state.aca_axis if st.session_state.aca_axis is not None else None,
|
144 |
step=0.1,
|