Spaces:
Building
on
CPU Upgrade
Building
on
CPU Upgrade
Update app.py
#3
by
TomSmail
- opened
app.py
CHANGED
@@ -72,8 +72,8 @@ min_bmi_input = gr.Number(label="Minimum BMI", value=0, minimum=COLUMN_MIN_MAX["
|
|
72 |
max_bmi_input = gr.Number(label="Maximum BMI", value=3, minimum=COLUMN_MIN_MAX["BMI"][0], maximum=COLUMN_MIN_MAX["BMI"][1])
|
73 |
bmi_input = gr.Number(label="BMI", value=20, minimum=COLUMN_MIN_MAX["BMI"][0], maximum=COLUMN_MIN_MAX["BMI"][1])
|
74 |
|
75 |
-
min_condition_severity_input = gr.Number(label="Condition Severity", value=5, minimum=COLUMN_MIN_MAX["Condition_Severity"][0],
|
76 |
-
max_condition_severity_input = gr.Number(label="Condition Severity", value=5, minimum=COLUMN_MIN_MAX["Condition_Severity"][0],
|
77 |
condition_severity_input = gr.Number(label="Condition Severity", value=5, minimum=0, maximum=10)
|
78 |
|
79 |
smoking_status_input = gr.CheckboxGroup(choices=additional_categories["Smoking_Status"], label="Smoking Status", value=["Never"])
|
|
|
72 |
max_bmi_input = gr.Number(label="Maximum BMI", value=3, minimum=COLUMN_MIN_MAX["BMI"][0], maximum=COLUMN_MIN_MAX["BMI"][1])
|
73 |
bmi_input = gr.Number(label="BMI", value=20, minimum=COLUMN_MIN_MAX["BMI"][0], maximum=COLUMN_MIN_MAX["BMI"][1])
|
74 |
|
75 |
+
min_condition_severity_input = gr.Number(label="Condition Severity", value=5, minimum=COLUMN_MIN_MAX["Condition_Severity"][0], maximum=COLUMN_MIN_MAX["Condition_Severity"][1])
|
76 |
+
max_condition_severity_input = gr.Number(label="Condition Severity", value=5, minimum=COLUMN_MIN_MAX["Condition_Severity"][0], maximum=COLUMN_MIN_MAX["Condition_Severity"][1])
|
77 |
condition_severity_input = gr.Number(label="Condition Severity", value=5, minimum=0, maximum=10)
|
78 |
|
79 |
smoking_status_input = gr.CheckboxGroup(choices=additional_categories["Smoking_Status"], label="Smoking Status", value=["Never"])
|