Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -60,6 +60,9 @@ st.markdown("""
|
|
60 |
color: white !important;
|
61 |
font-size: 24px !important;
|
62 |
}
|
|
|
|
|
|
|
63 |
</style>
|
64 |
""", unsafe_allow_html=True)
|
65 |
|
@@ -122,21 +125,21 @@ def main():
|
|
122 |
st.session_state.aca_axis = None
|
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,
|
|
|
60 |
color: white !important;
|
61 |
font-size: 24px !important;
|
62 |
}
|
63 |
+
[data-testid="stNumberInput"] {
|
64 |
+
margin-top: -15px;
|
65 |
+
}
|
66 |
</style>
|
67 |
""", unsafe_allow_html=True)
|
68 |
|
|
|
125 |
st.session_state.aca_axis = None
|
126 |
|
127 |
# Input fields using session state
|
128 |
+
st.markdown('<p style="font-size: 24px; color: white; margin-bottom: 0px;">Enter Patient Age (18-90 Years):</p>', unsafe_allow_html=True)
|
129 |
#age = st.number_input('Enter Patient Age (18-90 Years):',
|
130 |
age = st.number_input('',
|
131 |
min_value=18.0, max_value=90.0,
|
132 |
value=st.session_state.age if st.session_state.age is not None else None,
|
133 |
step=0.1,
|
134 |
key='age')
|
135 |
+
st.markdown('<p style="font-size: 24px; color: white; margin-bottom: 0px;">Enter ACA Magnitude (0-10 Diopters):</p>', unsafe_allow_html=True)
|
136 |
#aca_magnitude = st.number_input('Enter ACA Magnitude (0-10 Diopters):',
|
137 |
aca_magnitude = st.number_input('',
|
138 |
min_value=0.0, max_value=10.0,
|
139 |
value=st.session_state.aca_magnitude if st.session_state.aca_magnitude is not None else None,
|
140 |
step=0.01,
|
141 |
key='aca_magnitude')
|
142 |
+
st.markdown('<p style="font-size: 24px; color: white; margin-bottom: 0px;">Enter ACA Axis (0-180 Degrees):</p>', unsafe_allow_html=True)
|
143 |
#aca_axis = st.number_input('Enter ACA Axis (0-180 Degrees):',
|
144 |
aca_axis = st.number_input('',
|
145 |
min_value=0.0, max_value=180.0,
|