Update app.py
Browse files
app.py
CHANGED
|
@@ -142,37 +142,37 @@ with gr.Blocks(css="style.css") as demo:
|
|
| 142 |
input_2 = gr.Number(value=em[2],label="Age")
|
| 143 |
input_3 = gr.Number(value=em[3],label="Number of hospitalizations")
|
| 144 |
input_4 = gr.Number(value=em[4],label="Temperature")
|
| 145 |
-
input_5 = gr.Number(value=em[5],label="Pulse")
|
| 146 |
with gr.Column():
|
| 147 |
with gr.Row():
|
|
|
|
| 148 |
input_6 = gr.Number(value=em[6],label="Respiratory rate")
|
| 149 |
input_7 = gr.Number(value=em[7],label=" Systolic pressure")
|
| 150 |
-
|
| 151 |
input_8 = gr.Number(value=em[8],label="Diastolic pressure")
|
| 152 |
input_9 = gr.Number(value=em[9],label="pulmonary heart disease(yes=3,No=0)")
|
|
|
|
|
|
|
| 153 |
input_10 = gr.Number(value=em[10],label="Bronchiectasia(yes=3,No=0)")
|
| 154 |
input_11 = gr.Number(value=em[11],label="hypertension(yes=2,No=0)")
|
| 155 |
-
|
| 156 |
-
with gr.Column():
|
| 157 |
-
with gr.Row():
|
| 158 |
input_12 = gr.Number(value=em[12],label="diabetes(yes=2,No=0)")
|
| 159 |
input_13 = gr.Number(value=em[13],label="coronary heart disease(yes=2,No=0)")
|
| 160 |
input_14 = gr.Number(value=em[14],label="chronic kidney disease(yes=1,No=0)")
|
|
|
|
|
|
|
| 161 |
input_15 = gr.Number(value=em[15],label="malignancy(yes=1,No=0)")
|
| 162 |
-
|
| 163 |
input_16 = gr.Number(value=em[16],label="Cerebrovascular disease(yes=1,No=0)")
|
| 164 |
input_17 = gr.Number(value=em[17],label="viral hepatitis(yes=1,No=0)")
|
| 165 |
-
with gr.Column():
|
| 166 |
-
with gr.Row():
|
| 167 |
input_18 = gr.Number(value=em[18],label="cirrhosis(yes=1,No=0)")
|
| 168 |
input_19 = gr.Number(value=em[19],label="wbc(0-2=0,2-4=1,>4=2)")
|
|
|
|
|
|
|
| 169 |
input_20 = gr.Number(value=em[20],label="C-reactive protein((RC[-1]),(RC[-1]>0.068,RC[-1]<8.2)1,2)))")
|
|
|
|
| 170 |
input_21 = gr.Number(value=em[21],label="high sensitivity c reactive protein(0-3=1)")
|
| 171 |
input_22 = gr.Number(value=em[22],label="erythrocyte sedimentation rate(0-20=1)")
|
| 172 |
input_23 = gr.Number(value=em[23],label="Absolute value of lymphocytes")
|
|
|
|
| 173 |
with gr.Column():
|
| 174 |
with gr.Row():
|
| 175 |
-
input_24 = gr.Number(value=em[24],label="anc")
|
| 176 |
input_25 = gr.Number(value=em[25],label="Absolute value of eosinophils")
|
| 177 |
input_26 = gr.Number(value=em[26],label="Absolute value of monocytes")
|
| 178 |
input_27 = gr.Number(value=em[27],label="Serum procalcitonin detection")
|
|
@@ -186,9 +186,9 @@ with gr.Blocks(css="style.css") as demo:
|
|
| 186 |
input_32 = gr.Number(value=em[32],label="globulin")
|
| 187 |
input_33 = gr.Number(value=em[33],label="Low density lipoprotein cholesterol")
|
| 188 |
input_34 = gr.Number(value=em[34],label="High-density lipoprotein cholesterol")
|
| 189 |
-
input_35 = gr.Number(value=em[35],label="total cholesterol")
|
| 190 |
with gr.Column():
|
| 191 |
with gr.Row():
|
|
|
|
| 192 |
input_36 = gr.Number(value=em[36],label="triglyceride")
|
| 193 |
input_37 = gr.Number(value=em[37],label="urea nitrogen")
|
| 194 |
input_38 = gr.Number(value=em[38],label="uric acid")
|
|
|
|
| 142 |
input_2 = gr.Number(value=em[2],label="Age")
|
| 143 |
input_3 = gr.Number(value=em[3],label="Number of hospitalizations")
|
| 144 |
input_4 = gr.Number(value=em[4],label="Temperature")
|
|
|
|
| 145 |
with gr.Column():
|
| 146 |
with gr.Row():
|
| 147 |
+
input_5 = gr.Number(value=em[5],label="Pulse")
|
| 148 |
input_6 = gr.Number(value=em[6],label="Respiratory rate")
|
| 149 |
input_7 = gr.Number(value=em[7],label=" Systolic pressure")
|
|
|
|
| 150 |
input_8 = gr.Number(value=em[8],label="Diastolic pressure")
|
| 151 |
input_9 = gr.Number(value=em[9],label="pulmonary heart disease(yes=3,No=0)")
|
| 152 |
+
with gr.Column():
|
| 153 |
+
with gr.Row():
|
| 154 |
input_10 = gr.Number(value=em[10],label="Bronchiectasia(yes=3,No=0)")
|
| 155 |
input_11 = gr.Number(value=em[11],label="hypertension(yes=2,No=0)")
|
|
|
|
|
|
|
|
|
|
| 156 |
input_12 = gr.Number(value=em[12],label="diabetes(yes=2,No=0)")
|
| 157 |
input_13 = gr.Number(value=em[13],label="coronary heart disease(yes=2,No=0)")
|
| 158 |
input_14 = gr.Number(value=em[14],label="chronic kidney disease(yes=1,No=0)")
|
| 159 |
+
with gr.Column():
|
| 160 |
+
with gr.Row():
|
| 161 |
input_15 = gr.Number(value=em[15],label="malignancy(yes=1,No=0)")
|
|
|
|
| 162 |
input_16 = gr.Number(value=em[16],label="Cerebrovascular disease(yes=1,No=0)")
|
| 163 |
input_17 = gr.Number(value=em[17],label="viral hepatitis(yes=1,No=0)")
|
|
|
|
|
|
|
| 164 |
input_18 = gr.Number(value=em[18],label="cirrhosis(yes=1,No=0)")
|
| 165 |
input_19 = gr.Number(value=em[19],label="wbc(0-2=0,2-4=1,>4=2)")
|
| 166 |
+
with gr.Column():
|
| 167 |
+
with gr.Row():
|
| 168 |
input_20 = gr.Number(value=em[20],label="C-reactive protein((RC[-1]),(RC[-1]>0.068,RC[-1]<8.2)1,2)))")
|
| 169 |
+
|
| 170 |
input_21 = gr.Number(value=em[21],label="high sensitivity c reactive protein(0-3=1)")
|
| 171 |
input_22 = gr.Number(value=em[22],label="erythrocyte sedimentation rate(0-20=1)")
|
| 172 |
input_23 = gr.Number(value=em[23],label="Absolute value of lymphocytes")
|
| 173 |
+
input_24 = gr.Number(value=em[24],label="anc")
|
| 174 |
with gr.Column():
|
| 175 |
with gr.Row():
|
|
|
|
| 176 |
input_25 = gr.Number(value=em[25],label="Absolute value of eosinophils")
|
| 177 |
input_26 = gr.Number(value=em[26],label="Absolute value of monocytes")
|
| 178 |
input_27 = gr.Number(value=em[27],label="Serum procalcitonin detection")
|
|
|
|
| 186 |
input_32 = gr.Number(value=em[32],label="globulin")
|
| 187 |
input_33 = gr.Number(value=em[33],label="Low density lipoprotein cholesterol")
|
| 188 |
input_34 = gr.Number(value=em[34],label="High-density lipoprotein cholesterol")
|
|
|
|
| 189 |
with gr.Column():
|
| 190 |
with gr.Row():
|
| 191 |
+
input_35 = gr.Number(value=em[35],label="total cholesterol")
|
| 192 |
input_36 = gr.Number(value=em[36],label="triglyceride")
|
| 193 |
input_37 = gr.Number(value=em[37],label="urea nitrogen")
|
| 194 |
input_38 = gr.Number(value=em[38],label="uric acid")
|