Update app.py
Browse files
app.py
CHANGED
@@ -122,14 +122,14 @@ def main_with_separate_tables(file_path, bmd_patient, tscore_patient, C_avg_luna
|
|
122 |
def main():
|
123 |
st.title("BMD and T-score Prediction Tool")
|
124 |
|
125 |
-
# Input patient data
|
126 |
-
bmd_patient = st.number_input("Initial BMD", min_value=0.0, max_value=2.0, value=0.635, step=0.001)
|
127 |
-
tscore_patient = st.number_input("Initial T-score", min_value=-5.0, max_value=2.0, value=-2.5, step=0.01)
|
128 |
-
|
129 |
# Site options (Total Hip, Femoral Neck, Lumbar Spine)
|
130 |
site_options = ['Total Hip', 'Femoral Neck', 'Lumbar Spine (L1-L4)']
|
131 |
site = st.selectbox("Select site", site_options)
|
132 |
|
|
|
|
|
|
|
|
|
133 |
# Drug options
|
134 |
drug_options = ['Teriparatide', 'Teriparatide + Denosumab', 'Denosumab', 'Denosumab + Teriparatide',
|
135 |
'Romosozumab', 'Romosozumab + Denosumab', 'Romosozumab + Alendronate',
|
|
|
122 |
def main():
|
123 |
st.title("BMD and T-score Prediction Tool")
|
124 |
|
|
|
|
|
|
|
|
|
125 |
# Site options (Total Hip, Femoral Neck, Lumbar Spine)
|
126 |
site_options = ['Total Hip', 'Femoral Neck', 'Lumbar Spine (L1-L4)']
|
127 |
site = st.selectbox("Select site", site_options)
|
128 |
|
129 |
+
# Input patient data
|
130 |
+
bmd_patient = st.number_input("Initial BMD", min_value=0.0, max_value=2.0, value=0.635, step=0.001)
|
131 |
+
tscore_patient = st.number_input("Initial T-score", min_value=-5.0, max_value=2.0, value=-2.5, step=0.01)
|
132 |
+
|
133 |
# Drug options
|
134 |
drug_options = ['Teriparatide', 'Teriparatide + Denosumab', 'Denosumab', 'Denosumab + Teriparatide',
|
135 |
'Romosozumab', 'Romosozumab + Denosumab', 'Romosozumab + Alendronate',
|