Jfink09 commited on
Commit
cf141c6
·
verified ·
1 Parent(s): 449b108

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -123,19 +123,22 @@ def main():
123
 
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
  min_value=18.0, max_value=90.0,
128
  value=st.session_state.age if st.session_state.age is not None else None,
129
  step=0.1,
130
  key='age')
131
  st.markdown('<p style="font-size: 24px; color: white;">Enter ACA Magnitude (0-10 Diopters):</p>', unsafe_allow_html=True)
132
- aca_magnitude = st.number_input('Enter ACA Magnitude (0-10 Diopters):',
 
133
  min_value=0.0, max_value=10.0,
134
  value=st.session_state.aca_magnitude if st.session_state.aca_magnitude is not None else None,
135
  step=0.01,
136
  key='aca_magnitude')
137
  st.markdown('<p style="font-size: 24px; color: white;">Enter ACA Axis (0-180 Degrees):</p>', unsafe_allow_html=True)
138
- aca_axis = st.number_input('Enter ACA Axis (0-180 Degrees):',
 
139
  min_value=0.0, max_value=180.0,
140
  value=st.session_state.aca_axis if st.session_state.aca_axis is not None else None,
141
  step=0.1,
 
123
 
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,