mertkarabacak
commited on
Commit
•
4d84f3e
1
Parent(s):
3962b0c
Upload app.py
Browse files
app.py
CHANGED
@@ -265,7 +265,7 @@ with gr.Blocks(title = "NTDB-Epidural") as demo:
|
|
265 |
|
266 |
Height = gr.Slider(label = "Height (in centimeters)", minimum = 100, maximum = 250, step = 1, value = 175)
|
267 |
|
268 |
-
Systolic_Blood_Pressure = gr.Slider(label = "Systolic Blood Pressure", minimum = 50, maximum =
|
269 |
|
270 |
Pulse_Rate = gr.Slider(label = "Pulse Rate", minimum=20, maximum=250, step=1, value = 250)
|
271 |
|
@@ -333,7 +333,7 @@ with gr.Blocks(title = "NTDB-Epidural") as demo:
|
|
333 |
|
334 |
Ability_to_Complete_AgeAppropriate_ADL = gr.Radio(label = "Ability to Complete Age-Appropriate ADL", choices = unique_CC_FUNCTIONAL, type = 'index', value = 'Yes')
|
335 |
|
336 |
-
Pregnancy = gr.Radio(label = "Pregnancy", choices = unique_CC_PREGNANCY, type = 'index', value = '
|
337 |
|
338 |
Anticoagulant_Therapy = gr.Radio(label = "Anticoagulant Therapy", choices = unique_CC_ANTICOAGULANT, type = 'index', value = 'No')
|
339 |
|
@@ -411,7 +411,7 @@ with gr.Blocks(title = "NTDB-Epidural") as demo:
|
|
411 |
|
412 |
Drug_Screen__Tricyclic_Antidepressant = gr.Radio(label = "Drug Screen - Tricyclic Antidepressant", choices = unique_DRGSCR_TRICYCLICDEPRESS, type = 'index', value = 'No')
|
413 |
|
414 |
-
ACS_Verification_Level = gr.Radio(label = "ACS Verification Level", choices = unique_VERIFICATIONLEVEL, type = 'index', value = '
|
415 |
|
416 |
Hospital_Type = gr.Radio(label = "Hospital Type", choices = unique_HOSPITALTYPE, type = 'index', value = 'Non-profit')
|
417 |
|
@@ -422,7 +422,16 @@ with gr.Blocks(title = "NTDB-Epidural") as demo:
|
|
422 |
with gr.Column():
|
423 |
|
424 |
with gr.Box():
|
|
|
|
|
|
|
|
|
|
|
|
|
425 |
|
|
|
|
|
|
|
426 |
with gr.Row():
|
427 |
y1_predict_btn_xgb = gr.Button(value="Predict (XGBoost)")
|
428 |
y1_predict_btn_lgb = gr.Button(value="Predict (LightGBM)")
|
|
|
265 |
|
266 |
Height = gr.Slider(label = "Height (in centimeters)", minimum = 100, maximum = 250, step = 1, value = 175)
|
267 |
|
268 |
+
Systolic_Blood_Pressure = gr.Slider(label = "Systolic Blood Pressure", minimum = 50, maximum = 250, step = 1, value = 135)
|
269 |
|
270 |
Pulse_Rate = gr.Slider(label = "Pulse Rate", minimum=20, maximum=250, step=1, value = 250)
|
271 |
|
|
|
333 |
|
334 |
Ability_to_Complete_AgeAppropriate_ADL = gr.Radio(label = "Ability to Complete Age-Appropriate ADL", choices = unique_CC_FUNCTIONAL, type = 'index', value = 'Yes')
|
335 |
|
336 |
+
Pregnancy = gr.Radio(label = "Pregnancy", choices = unique_CC_PREGNANCY, type = 'index', value = 'Not applicable (male patient)')
|
337 |
|
338 |
Anticoagulant_Therapy = gr.Radio(label = "Anticoagulant Therapy", choices = unique_CC_ANTICOAGULANT, type = 'index', value = 'No')
|
339 |
|
|
|
411 |
|
412 |
Drug_Screen__Tricyclic_Antidepressant = gr.Radio(label = "Drug Screen - Tricyclic Antidepressant", choices = unique_DRGSCR_TRICYCLICDEPRESS, type = 'index', value = 'No')
|
413 |
|
414 |
+
ACS_Verification_Level = gr.Radio(label = "ACS Verification Level", choices = unique_VERIFICATIONLEVEL, type = 'index', value = 'Level I Trauma Center')
|
415 |
|
416 |
Hospital_Type = gr.Radio(label = "Hospital Type", choices = unique_HOSPITALTYPE, type = 'index', value = 'Non-profit')
|
417 |
|
|
|
422 |
with gr.Column():
|
423 |
|
424 |
with gr.Box():
|
425 |
+
with gr.Row():
|
426 |
+
|
427 |
+
gr.Markdown(
|
428 |
+
"""
|
429 |
+
|
430 |
+
## Mortality
|
431 |
|
432 |
+
"""
|
433 |
+
)
|
434 |
+
|
435 |
with gr.Row():
|
436 |
y1_predict_btn_xgb = gr.Button(value="Predict (XGBoost)")
|
437 |
y1_predict_btn_lgb = gr.Button(value="Predict (LightGBM)")
|