rasmodev commited on
Commit
d2322c7
·
1 Parent(s): 92a86a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -18
app.py CHANGED
@@ -29,24 +29,15 @@ loaded_scaler = loaded_components['scaler']
29
 
30
  # Data Fields
31
  data_fields = {
32
- "PRG": "Represents the number of pregnancies, applicable only to females",
33
- "PL": "Plasma glucose concentration (mg/dL)",
34
- "PR": "Diastolic blood pressure (mm Hg)",
35
- "SK": "Triceps skinfold thickness (mm)",
36
- "TS": "2-hour serum insulin (mu U/ml)",
37
- "M11": "Body mass index (BMI) (weight in kg / {(height in m)}^2)",
38
- "BD2": "Diabetes pedigree function (mu U/ml)",
39
- "Age": "Age of the patient (years)"
40
-
41
- "PRG": "Number of Pregnancies (applicable only to females)\n - Description: The total number of pregnancies a female patient has experienced.",
42
- "PL": "Plasma Glucose Concentration (mg/dL)\n - The concentration of glucose in the patient's blood). It provides insights into the patient's blood sugar levels.",
43
- "PR": "Diastolic Blood Pressure (mm Hg)\n - The diastolic blood pressure, representing the pressure in the arteries when the heart is at rest between beats.",
44
- "SK": "Triceps Skinfold Thickness (mm)\n - The thickness of the skinfold on the triceps, measured in millimeters (mm). This measurement is often used to assess body fat percentage.",
45
- "TS": "2-hour Serum Insulin (mu U/ml)\n - The level of insulin in the patient's blood two hours after a meal, measured in micro international units per milliliter (mu U/ml).",
46
- "M11": "Body Mass Index (BMI) (weight in kg / {(height in m)}^2)\n - It provides a standardized measure that helps assess the degree of body fat and categorizes individuals into different weight status categories, such as underweight, normal weight, overweight, and obesity."
47
- "BD2": "Diabetes Pedigree Function (mu U/ml)\n - This function provides information about the patient's family history of diabetes.",
48
- "Age": "Age of the Patient (years)\n - Age is an essential factor in medical assessments and can influence various health outcomes."
49
-
50
  # Organize input fields into two columns
51
  col1, col2 = st.columns(2)
52
 
 
29
 
30
  # Data Fields
31
  data_fields = {
32
+ "PRG": "Number of Pregnancies (applicable only to females)\n - Description: The total number of pregnancies a female patient has experienced.",
33
+ "PL": "Plasma Glucose Concentration (mg/dL)\n - The concentration of glucose in the patient's blood). It provides insights into the patient's blood sugar levels.",
34
+ "PR": "Diastolic Blood Pressure (mm Hg)\n - The diastolic blood pressure, representing the pressure in the arteries when the heart is at rest between beats.",
35
+ "SK": "Triceps Skinfold Thickness (mm)\n - The thickness of the skinfold on the triceps, measured in millimeters (mm). This measurement is often used to assess body fat percentage.",
36
+ "TS": "2-hour Serum Insulin (mu U/ml)\n - The level of insulin in the patient's blood two hours after a meal, measured in micro international units per milliliter (mu U/ml).",
37
+ "M11": "Body Mass Index (BMI) (weight in kg / {(height in m)}^2)\n - It provides a standardized measure that helps assess the degree of body fat and categorizes individuals into different weight status categories, such as underweight, normal weight, overweight, and obesity."
38
+ "BD2": "Diabetes Pedigree Function (mu U/ml)\n - This function provides information about the patient's family history of diabetes.",
39
+ "Age": "Age of the Patient (years)\n - Age is an essential factor in medical assessments and can influence various health outcomes."
40
+ }
 
 
 
 
 
 
 
 
 
41
  # Organize input fields into two columns
42
  col1, col2 = st.columns(2)
43