mertkarabacak commited on
Commit
33bee46
1 Parent(s): a9d179a

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -438,19 +438,19 @@ with gr.Blocks(title = "NTDB-Epidural") as demo:
438
 
439
  y1_predict_btn_xgb.click(
440
  y1_predict_xgb,
441
- inputs = ['Age', 'Sex', 'Race', 'Ethnicity', 'Weight', 'Height', 'Systolic_Blood_Pressure', 'Pulse_Rate', 'Supplemental_Oxygen', 'Pulse_Oximetry', 'Respiratory_Assistance', 'Respiratory_Rate', 'Temperature', 'PreHospital_Cardiac_Arrest', 'GCS__Eye', 'GCS__Verbal', 'GCS__Motor', 'Pupillary_Response', 'Midline_Shift', 'Current_Smoker', 'Comorbid_Condition__Alcohol_Use_Disorder', 'Comorbid_Condition__Substance_Abuse_Disorder', 'Comorbid_Condition__Diabetes_Mellitus', 'Comorbid_Condition__Hypertension', 'Comorbid_Condition__Congestive_Heart_Failure', 'History_of_Myocardial_Infarction', 'Comorbid_Condition__Angina_Pectoris', 'History_of_Cerebrovascular_Accident', 'Comorbid_Condition__Peripheral_Arterial_Disease', 'Comorbid_Condition__Chronic_Obstructive_Pulmonary_Disease', 'Comorbid_Condition__Chronic_Renal_Failure', 'Comorbid_Condition__Cirrhosis', 'Comorbid_Condition__Bleeding_Disorder', 'Comorbid_Condition__Disseminated_Cancer', 'Comorbid_Condition__Currently_Receiving_Chemotherapy_for_Cancer', 'Comorbid_Condition__Dementia', 'Comorbid_Condition__Attention_Deficit_Disorder_or_Attention_Deficit_Hyperactivity_Disorder', 'Comorbid_Condition__Mental_or_Personality_Disorder', 'Ability_to_Complete_AgeAppropriate_ADL', 'Pregnancy', 'Anticoagulant_Therapy', 'Steroid_Use', 'Advanced_Directive_Limiting_Care', 'Transport_Mode', 'InterFacility_Transfer', 'Trauma_Type', 'Injury_Intent', 'Mechanism_of_Injury', 'Protective_Device', 'WorkRelated', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Head', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Face', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Neck', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Thorax', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Abdomen', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Spine', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Upper_Extremity', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Lower_Extremity', 'AIS_Severity__Maximum_Severity_of_Injury_in_Unspecified_Body_Regions', 'AIS_derived_ISS', 'Blood_Transfusion', 'Neurosurgical_Intervention', 'Cerebral_Monitoring', 'Alcohol_Screen', 'Alcohol_Screen_Result', 'Drug_Screen__Amphetamine', 'Drug_Screen__Barbiturate', 'Drug_Screen__Benzodiazepines', 'Drug_Screen__Cannabinoid', 'Drug_Screen__Cocaine', 'Drug_Screen__MDMA_or_Ecstasy', 'Drug_Screen__Methadone', 'Drug_Screen__Methamphetamine', 'Drug_Screen__Not_Tested', 'Drug_Screen__Opioid', 'Drug_Screen__Oxycodone', 'Drug_Screen__Phencyclidine', 'Drug_Screen__Tricyclic_Antidepressant', 'ACS_Verification_Level', 'Hospital_Type', 'Facility_Bed_Size', 'Primary_Method_of_Payment',],
442
  outputs = [label]
443
  )
444
 
445
  y1_predict_btn_lgb.click(
446
  y1_predict_lgb,
447
- inputs = ['Age', 'Sex', 'Race', 'Ethnicity', 'Weight', 'Height', 'Systolic_Blood_Pressure', 'Pulse_Rate', 'Supplemental_Oxygen', 'Pulse_Oximetry', 'Respiratory_Assistance', 'Respiratory_Rate', 'Temperature', 'PreHospital_Cardiac_Arrest', 'GCS__Eye', 'GCS__Verbal', 'GCS__Motor', 'Pupillary_Response', 'Midline_Shift', 'Current_Smoker', 'Comorbid_Condition__Alcohol_Use_Disorder', 'Comorbid_Condition__Substance_Abuse_Disorder', 'Comorbid_Condition__Diabetes_Mellitus', 'Comorbid_Condition__Hypertension', 'Comorbid_Condition__Congestive_Heart_Failure', 'History_of_Myocardial_Infarction', 'Comorbid_Condition__Angina_Pectoris', 'History_of_Cerebrovascular_Accident', 'Comorbid_Condition__Peripheral_Arterial_Disease', 'Comorbid_Condition__Chronic_Obstructive_Pulmonary_Disease', 'Comorbid_Condition__Chronic_Renal_Failure', 'Comorbid_Condition__Cirrhosis', 'Comorbid_Condition__Bleeding_Disorder', 'Comorbid_Condition__Disseminated_Cancer', 'Comorbid_Condition__Currently_Receiving_Chemotherapy_for_Cancer', 'Comorbid_Condition__Dementia', 'Comorbid_Condition__Attention_Deficit_Disorder_or_Attention_Deficit_Hyperactivity_Disorder', 'Comorbid_Condition__Mental_or_Personality_Disorder', 'Ability_to_Complete_AgeAppropriate_ADL', 'Pregnancy', 'Anticoagulant_Therapy', 'Steroid_Use', 'Advanced_Directive_Limiting_Care', 'Transport_Mode', 'InterFacility_Transfer', 'Trauma_Type', 'Injury_Intent', 'Mechanism_of_Injury', 'Protective_Device', 'WorkRelated', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Head', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Face', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Neck', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Thorax', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Abdomen', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Spine', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Upper_Extremity', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Lower_Extremity', 'AIS_Severity__Maximum_Severity_of_Injury_in_Unspecified_Body_Regions', 'AIS_derived_ISS', 'Blood_Transfusion', 'Neurosurgical_Intervention', 'Cerebral_Monitoring', 'Alcohol_Screen', 'Alcohol_Screen_Result', 'Drug_Screen__Amphetamine', 'Drug_Screen__Barbiturate', 'Drug_Screen__Benzodiazepines', 'Drug_Screen__Cannabinoid', 'Drug_Screen__Cocaine', 'Drug_Screen__MDMA_or_Ecstasy', 'Drug_Screen__Methadone', 'Drug_Screen__Methamphetamine', 'Drug_Screen__Not_Tested', 'Drug_Screen__Opioid', 'Drug_Screen__Oxycodone', 'Drug_Screen__Phencyclidine', 'Drug_Screen__Tricyclic_Antidepressant', 'ACS_Verification_Level', 'Hospital_Type', 'Facility_Bed_Size', 'Primary_Method_of_Payment',],
448
  outputs = [label]
449
  )
450
 
451
  y1_predict_btn_cb.click(
452
  y1_predict_cb,
453
- inputs = ['Age', 'Sex', 'Race', 'Ethnicity', 'Weight', 'Height', 'Systolic_Blood_Pressure', 'Pulse_Rate', 'Supplemental_Oxygen', 'Pulse_Oximetry', 'Respiratory_Assistance', 'Respiratory_Rate', 'Temperature', 'PreHospital_Cardiac_Arrest', 'GCS__Eye', 'GCS__Verbal', 'GCS__Motor', 'Pupillary_Response', 'Midline_Shift', 'Current_Smoker', 'Comorbid_Condition__Alcohol_Use_Disorder', 'Comorbid_Condition__Substance_Abuse_Disorder', 'Comorbid_Condition__Diabetes_Mellitus', 'Comorbid_Condition__Hypertension', 'Comorbid_Condition__Congestive_Heart_Failure', 'History_of_Myocardial_Infarction', 'Comorbid_Condition__Angina_Pectoris', 'History_of_Cerebrovascular_Accident', 'Comorbid_Condition__Peripheral_Arterial_Disease', 'Comorbid_Condition__Chronic_Obstructive_Pulmonary_Disease', 'Comorbid_Condition__Chronic_Renal_Failure', 'Comorbid_Condition__Cirrhosis', 'Comorbid_Condition__Bleeding_Disorder', 'Comorbid_Condition__Disseminated_Cancer', 'Comorbid_Condition__Currently_Receiving_Chemotherapy_for_Cancer', 'Comorbid_Condition__Dementia', 'Comorbid_Condition__Attention_Deficit_Disorder_or_Attention_Deficit_Hyperactivity_Disorder', 'Comorbid_Condition__Mental_or_Personality_Disorder', 'Ability_to_Complete_AgeAppropriate_ADL', 'Pregnancy', 'Anticoagulant_Therapy', 'Steroid_Use', 'Advanced_Directive_Limiting_Care', 'Transport_Mode', 'InterFacility_Transfer', 'Trauma_Type', 'Injury_Intent', 'Mechanism_of_Injury', 'Protective_Device', 'WorkRelated', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Head', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Face', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Neck', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Thorax', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Abdomen', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Spine', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Upper_Extremity', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Lower_Extremity', 'AIS_Severity__Maximum_Severity_of_Injury_in_Unspecified_Body_Regions', 'AIS_derived_ISS', 'Blood_Transfusion', 'Neurosurgical_Intervention', 'Cerebral_Monitoring', 'Alcohol_Screen', 'Alcohol_Screen_Result', 'Drug_Screen__Amphetamine', 'Drug_Screen__Barbiturate', 'Drug_Screen__Benzodiazepines', 'Drug_Screen__Cannabinoid', 'Drug_Screen__Cocaine', 'Drug_Screen__MDMA_or_Ecstasy', 'Drug_Screen__Methadone', 'Drug_Screen__Methamphetamine', 'Drug_Screen__Not_Tested', 'Drug_Screen__Opioid', 'Drug_Screen__Oxycodone', 'Drug_Screen__Phencyclidine', 'Drug_Screen__Tricyclic_Antidepressant', 'ACS_Verification_Level', 'Hospital_Type', 'Facility_Bed_Size', 'Primary_Method_of_Payment',],
454
  outputs = [label]
455
  )
456
 
@@ -462,26 +462,26 @@ with gr.Blocks(title = "NTDB-Epidural") as demo:
462
 
463
  y1_interpret_btn_xgb.click(
464
  y1_interpret_xgb,
465
- inputs = ['Age', 'Sex', 'Race', 'Ethnicity', 'Weight', 'Height', 'Systolic_Blood_Pressure', 'Pulse_Rate', 'Supplemental_Oxygen', 'Pulse_Oximetry', 'Respiratory_Assistance', 'Respiratory_Rate', 'Temperature', 'PreHospital_Cardiac_Arrest', 'GCS__Eye', 'GCS__Verbal', 'GCS__Motor', 'Pupillary_Response', 'Midline_Shift', 'Current_Smoker', 'Comorbid_Condition__Alcohol_Use_Disorder', 'Comorbid_Condition__Substance_Abuse_Disorder', 'Comorbid_Condition__Diabetes_Mellitus', 'Comorbid_Condition__Hypertension', 'Comorbid_Condition__Congestive_Heart_Failure', 'History_of_Myocardial_Infarction', 'Comorbid_Condition__Angina_Pectoris', 'History_of_Cerebrovascular_Accident', 'Comorbid_Condition__Peripheral_Arterial_Disease', 'Comorbid_Condition__Chronic_Obstructive_Pulmonary_Disease', 'Comorbid_Condition__Chronic_Renal_Failure', 'Comorbid_Condition__Cirrhosis', 'Comorbid_Condition__Bleeding_Disorder', 'Comorbid_Condition__Disseminated_Cancer', 'Comorbid_Condition__Currently_Receiving_Chemotherapy_for_Cancer', 'Comorbid_Condition__Dementia', 'Comorbid_Condition__Attention_Deficit_Disorder_or_Attention_Deficit_Hyperactivity_Disorder', 'Comorbid_Condition__Mental_or_Personality_Disorder', 'Ability_to_Complete_AgeAppropriate_ADL', 'Pregnancy', 'Anticoagulant_Therapy', 'Steroid_Use', 'Advanced_Directive_Limiting_Care', 'Transport_Mode', 'InterFacility_Transfer', 'Trauma_Type', 'Injury_Intent', 'Mechanism_of_Injury', 'Protective_Device', 'WorkRelated', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Head', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Face', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Neck', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Thorax', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Abdomen', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Spine', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Upper_Extremity', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Lower_Extremity', 'AIS_Severity__Maximum_Severity_of_Injury_in_Unspecified_Body_Regions', 'AIS_derived_ISS', 'Blood_Transfusion', 'Neurosurgical_Intervention', 'Cerebral_Monitoring', 'Alcohol_Screen', 'Alcohol_Screen_Result', 'Drug_Screen__Amphetamine', 'Drug_Screen__Barbiturate', 'Drug_Screen__Benzodiazepines', 'Drug_Screen__Cannabinoid', 'Drug_Screen__Cocaine', 'Drug_Screen__MDMA_or_Ecstasy', 'Drug_Screen__Methadone', 'Drug_Screen__Methamphetamine', 'Drug_Screen__Not_Tested', 'Drug_Screen__Opioid', 'Drug_Screen__Oxycodone', 'Drug_Screen__Phencyclidine', 'Drug_Screen__Tricyclic_Antidepressant', 'ACS_Verification_Level', 'Hospital_Type', 'Facility_Bed_Size', 'Primary_Method_of_Payment',],
466
  outputs = [plot],
467
  )
468
 
469
  y1_interpret_btn_lgb.click(
470
  y1_interpret_lgb,
471
- inputs = ['Age', 'Sex', 'Race', 'Ethnicity', 'Weight', 'Height', 'Systolic_Blood_Pressure', 'Pulse_Rate', 'Supplemental_Oxygen', 'Pulse_Oximetry', 'Respiratory_Assistance', 'Respiratory_Rate', 'Temperature', 'PreHospital_Cardiac_Arrest', 'GCS__Eye', 'GCS__Verbal', 'GCS__Motor', 'Pupillary_Response', 'Midline_Shift', 'Current_Smoker', 'Comorbid_Condition__Alcohol_Use_Disorder', 'Comorbid_Condition__Substance_Abuse_Disorder', 'Comorbid_Condition__Diabetes_Mellitus', 'Comorbid_Condition__Hypertension', 'Comorbid_Condition__Congestive_Heart_Failure', 'History_of_Myocardial_Infarction', 'Comorbid_Condition__Angina_Pectoris', 'History_of_Cerebrovascular_Accident', 'Comorbid_Condition__Peripheral_Arterial_Disease', 'Comorbid_Condition__Chronic_Obstructive_Pulmonary_Disease', 'Comorbid_Condition__Chronic_Renal_Failure', 'Comorbid_Condition__Cirrhosis', 'Comorbid_Condition__Bleeding_Disorder', 'Comorbid_Condition__Disseminated_Cancer', 'Comorbid_Condition__Currently_Receiving_Chemotherapy_for_Cancer', 'Comorbid_Condition__Dementia', 'Comorbid_Condition__Attention_Deficit_Disorder_or_Attention_Deficit_Hyperactivity_Disorder', 'Comorbid_Condition__Mental_or_Personality_Disorder', 'Ability_to_Complete_AgeAppropriate_ADL', 'Pregnancy', 'Anticoagulant_Therapy', 'Steroid_Use', 'Advanced_Directive_Limiting_Care', 'Transport_Mode', 'InterFacility_Transfer', 'Trauma_Type', 'Injury_Intent', 'Mechanism_of_Injury', 'Protective_Device', 'WorkRelated', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Head', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Face', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Neck', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Thorax', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Abdomen', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Spine', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Upper_Extremity', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Lower_Extremity', 'AIS_Severity__Maximum_Severity_of_Injury_in_Unspecified_Body_Regions', 'AIS_derived_ISS', 'Blood_Transfusion', 'Neurosurgical_Intervention', 'Cerebral_Monitoring', 'Alcohol_Screen', 'Alcohol_Screen_Result', 'Drug_Screen__Amphetamine', 'Drug_Screen__Barbiturate', 'Drug_Screen__Benzodiazepines', 'Drug_Screen__Cannabinoid', 'Drug_Screen__Cocaine', 'Drug_Screen__MDMA_or_Ecstasy', 'Drug_Screen__Methadone', 'Drug_Screen__Methamphetamine', 'Drug_Screen__Not_Tested', 'Drug_Screen__Opioid', 'Drug_Screen__Oxycodone', 'Drug_Screen__Phencyclidine', 'Drug_Screen__Tricyclic_Antidepressant', 'ACS_Verification_Level', 'Hospital_Type', 'Facility_Bed_Size', 'Primary_Method_of_Payment',],
472
  outputs = [plot],
473
  )
474
 
475
  y1_interpret_btn_cb.click(
476
  y1_interpret_cb,
477
- inputs = ['Age', 'Sex', 'Race', 'Ethnicity', 'Weight', 'Height', 'Systolic_Blood_Pressure', 'Pulse_Rate', 'Supplemental_Oxygen', 'Pulse_Oximetry', 'Respiratory_Assistance', 'Respiratory_Rate', 'Temperature', 'PreHospital_Cardiac_Arrest', 'GCS__Eye', 'GCS__Verbal', 'GCS__Motor', 'Pupillary_Response', 'Midline_Shift', 'Current_Smoker', 'Comorbid_Condition__Alcohol_Use_Disorder', 'Comorbid_Condition__Substance_Abuse_Disorder', 'Comorbid_Condition__Diabetes_Mellitus', 'Comorbid_Condition__Hypertension', 'Comorbid_Condition__Congestive_Heart_Failure', 'History_of_Myocardial_Infarction', 'Comorbid_Condition__Angina_Pectoris', 'History_of_Cerebrovascular_Accident', 'Comorbid_Condition__Peripheral_Arterial_Disease', 'Comorbid_Condition__Chronic_Obstructive_Pulmonary_Disease', 'Comorbid_Condition__Chronic_Renal_Failure', 'Comorbid_Condition__Cirrhosis', 'Comorbid_Condition__Bleeding_Disorder', 'Comorbid_Condition__Disseminated_Cancer', 'Comorbid_Condition__Currently_Receiving_Chemotherapy_for_Cancer', 'Comorbid_Condition__Dementia', 'Comorbid_Condition__Attention_Deficit_Disorder_or_Attention_Deficit_Hyperactivity_Disorder', 'Comorbid_Condition__Mental_or_Personality_Disorder', 'Ability_to_Complete_AgeAppropriate_ADL', 'Pregnancy', 'Anticoagulant_Therapy', 'Steroid_Use', 'Advanced_Directive_Limiting_Care', 'Transport_Mode', 'InterFacility_Transfer', 'Trauma_Type', 'Injury_Intent', 'Mechanism_of_Injury', 'Protective_Device', 'WorkRelated', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Head', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Face', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Neck', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Thorax', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Abdomen', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Spine', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Upper_Extremity', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Lower_Extremity', 'AIS_Severity__Maximum_Severity_of_Injury_in_Unspecified_Body_Regions', 'AIS_derived_ISS', 'Blood_Transfusion', 'Neurosurgical_Intervention', 'Cerebral_Monitoring', 'Alcohol_Screen', 'Alcohol_Screen_Result', 'Drug_Screen__Amphetamine', 'Drug_Screen__Barbiturate', 'Drug_Screen__Benzodiazepines', 'Drug_Screen__Cannabinoid', 'Drug_Screen__Cocaine', 'Drug_Screen__MDMA_or_Ecstasy', 'Drug_Screen__Methadone', 'Drug_Screen__Methamphetamine', 'Drug_Screen__Not_Tested', 'Drug_Screen__Opioid', 'Drug_Screen__Oxycodone', 'Drug_Screen__Phencyclidine', 'Drug_Screen__Tricyclic_Antidepressant', 'ACS_Verification_Level', 'Hospital_Type', 'Facility_Bed_Size', 'Primary_Method_of_Payment',],
478
  outputs = [plot],
479
  )
480
 
481
  y1_interpret_btn_rf.click(
482
  y1_interpret_rf,
483
- inputs = ['Age', 'Sex', 'Race', 'Ethnicity', 'Weight', 'Height', 'Systolic_Blood_Pressure', 'Pulse_Rate', 'Supplemental_Oxygen', 'Pulse_Oximetry', 'Respiratory_Assistance', 'Respiratory_Rate', 'Temperature', 'PreHospital_Cardiac_Arrest', 'GCS__Eye', 'GCS__Verbal', 'GCS__Motor', 'Pupillary_Response', 'Midline_Shift', 'Current_Smoker', 'Comorbid_Condition__Alcohol_Use_Disorder', 'Comorbid_Condition__Substance_Abuse_Disorder', 'Comorbid_Condition__Diabetes_Mellitus', 'Comorbid_Condition__Hypertension', 'Comorbid_Condition__Congestive_Heart_Failure', 'History_of_Myocardial_Infarction', 'Comorbid_Condition__Angina_Pectoris', 'History_of_Cerebrovascular_Accident', 'Comorbid_Condition__Peripheral_Arterial_Disease', 'Comorbid_Condition__Chronic_Obstructive_Pulmonary_Disease', 'Comorbid_Condition__Chronic_Renal_Failure', 'Comorbid_Condition__Cirrhosis', 'Comorbid_Condition__Bleeding_Disorder', 'Comorbid_Condition__Disseminated_Cancer', 'Comorbid_Condition__Currently_Receiving_Chemotherapy_for_Cancer', 'Comorbid_Condition__Dementia', 'Comorbid_Condition__Attention_Deficit_Disorder_or_Attention_Deficit_Hyperactivity_Disorder', 'Comorbid_Condition__Mental_or_Personality_Disorder', 'Ability_to_Complete_AgeAppropriate_ADL', 'Pregnancy', 'Anticoagulant_Therapy', 'Steroid_Use', 'Advanced_Directive_Limiting_Care', 'Transport_Mode', 'InterFacility_Transfer', 'Trauma_Type', 'Injury_Intent', 'Mechanism_of_Injury', 'Protective_Device', 'WorkRelated', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Head', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Face', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Neck', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Thorax', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Abdomen', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Spine', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Upper_Extremity', 'AIS_Severity__Maximum_Severity_of_Injury_in_the_Lower_Extremity', 'AIS_Severity__Maximum_Severity_of_Injury_in_Unspecified_Body_Regions', 'AIS_derived_ISS', 'Blood_Transfusion', 'Neurosurgical_Intervention', 'Cerebral_Monitoring', 'Alcohol_Screen', 'Alcohol_Screen_Result', 'Drug_Screen__Amphetamine', 'Drug_Screen__Barbiturate', 'Drug_Screen__Benzodiazepines', 'Drug_Screen__Cannabinoid', 'Drug_Screen__Cocaine', 'Drug_Screen__MDMA_or_Ecstasy', 'Drug_Screen__Methadone', 'Drug_Screen__Methamphetamine', 'Drug_Screen__Not_Tested', 'Drug_Screen__Opioid', 'Drug_Screen__Oxycodone', 'Drug_Screen__Phencyclidine', 'Drug_Screen__Tricyclic_Antidepressant', 'ACS_Verification_Level', 'Hospital_Type', 'Facility_Bed_Size', 'Primary_Method_of_Payment',],
484
  outputs = [plot],
485
  )
486
 
487
- demo.launch()
 
438
 
439
  y1_predict_btn_xgb.click(
440
  y1_predict_xgb,
441
+ inputs = inputs = [Age, Sex, Race, Ethnicity, Weight, Height, Systolic_Blood_Pressure, Pulse_Rate, Supplemental_Oxygen, Pulse_Oximetry, Respiratory_Assistance, Respiratory_Rate, Temperature, PreHospital_Cardiac_Arrest, GCS__Eye, GCS__Verbal, GCS__Motor, Pupillary_Response, Midline_Shift, Current_Smoker, Comorbid_Condition__Alcohol_Use_Disorder, Comorbid_Condition__Substance_Abuse_Disorder, Comorbid_Condition__Diabetes_Mellitus, Comorbid_Condition__Hypertension, Comorbid_Condition__Congestive_Heart_Failure, History_of_Myocardial_Infarction, Comorbid_Condition__Angina_Pectoris, History_of_Cerebrovascular_Accident, Comorbid_Condition__Peripheral_Arterial_Disease, Comorbid_Condition__Chronic_Obstructive_Pulmonary_Disease, Comorbid_Condition__Chronic_Renal_Failure, Comorbid_Condition__Cirrhosis, Comorbid_Condition__Bleeding_Disorder, Comorbid_Condition__Disseminated_Cancer, Comorbid_Condition__Currently_Receiving_Chemotherapy_for_Cancer, Comorbid_Condition__Dementia, Comorbid_Condition__Attention_Deficit_Disorder_or_Attention_Deficit_Hyperactivity_Disorder, Comorbid_Condition__Mental_or_Personality_Disorder, Ability_to_Complete_AgeAppropriate_ADL, Pregnancy, Anticoagulant_Therapy, Steroid_Use, Advanced_Directive_Limiting_Care, Transport_Mode, InterFacility_Transfer, Trauma_Type, Injury_Intent, Mechanism_of_Injury, Protective_Device, WorkRelated, AIS_Severity__Maximum_Severity_of_Injury_in_the_Head, AIS_Severity__Maximum_Severity_of_Injury_in_the_Face, AIS_Severity__Maximum_Severity_of_Injury_in_the_Neck, AIS_Severity__Maximum_Severity_of_Injury_in_the_Thorax, AIS_Severity__Maximum_Severity_of_Injury_in_the_Abdomen, AIS_Severity__Maximum_Severity_of_Injury_in_the_Spine, AIS_Severity__Maximum_Severity_of_Injury_in_the_Upper_Extremity, AIS_Severity__Maximum_Severity_of_Injury_in_the_Lower_Extremity, AIS_Severity__Maximum_Severity_of_Injury_in_Unspecified_Body_Regions, AIS_derived_ISS, Blood_Transfusion, Neurosurgical_Intervention, Cerebral_Monitoring, Alcohol_Screen, Alcohol_Screen_Result, Drug_Screen__Amphetamine, Drug_Screen__Barbiturate, Drug_Screen__Benzodiazepines, Drug_Screen__Cannabinoid, Drug_Screen__Cocaine, Drug_Screen__MDMA_or_Ecstasy, Drug_Screen__Methadone, Drug_Screen__Methamphetamine, Drug_Screen__Not_Tested, Drug_Screen__Opioid, Drug_Screen__Oxycodone, Drug_Screen__Phencyclidine, Drug_Screen__Tricyclic_Antidepressant, ACS_Verification_Level, Hospital_Type, Facility_Bed_Size, Primary_Method_of_Payment,],
442
  outputs = [label]
443
  )
444
 
445
  y1_predict_btn_lgb.click(
446
  y1_predict_lgb,
447
+ inputs = inputs = [Age, Sex, Race, Ethnicity, Weight, Height, Systolic_Blood_Pressure, Pulse_Rate, Supplemental_Oxygen, Pulse_Oximetry, Respiratory_Assistance, Respiratory_Rate, Temperature, PreHospital_Cardiac_Arrest, GCS__Eye, GCS__Verbal, GCS__Motor, Pupillary_Response, Midline_Shift, Current_Smoker, Comorbid_Condition__Alcohol_Use_Disorder, Comorbid_Condition__Substance_Abuse_Disorder, Comorbid_Condition__Diabetes_Mellitus, Comorbid_Condition__Hypertension, Comorbid_Condition__Congestive_Heart_Failure, History_of_Myocardial_Infarction, Comorbid_Condition__Angina_Pectoris, History_of_Cerebrovascular_Accident, Comorbid_Condition__Peripheral_Arterial_Disease, Comorbid_Condition__Chronic_Obstructive_Pulmonary_Disease, Comorbid_Condition__Chronic_Renal_Failure, Comorbid_Condition__Cirrhosis, Comorbid_Condition__Bleeding_Disorder, Comorbid_Condition__Disseminated_Cancer, Comorbid_Condition__Currently_Receiving_Chemotherapy_for_Cancer, Comorbid_Condition__Dementia, Comorbid_Condition__Attention_Deficit_Disorder_or_Attention_Deficit_Hyperactivity_Disorder, Comorbid_Condition__Mental_or_Personality_Disorder, Ability_to_Complete_AgeAppropriate_ADL, Pregnancy, Anticoagulant_Therapy, Steroid_Use, Advanced_Directive_Limiting_Care, Transport_Mode, InterFacility_Transfer, Trauma_Type, Injury_Intent, Mechanism_of_Injury, Protective_Device, WorkRelated, AIS_Severity__Maximum_Severity_of_Injury_in_the_Head, AIS_Severity__Maximum_Severity_of_Injury_in_the_Face, AIS_Severity__Maximum_Severity_of_Injury_in_the_Neck, AIS_Severity__Maximum_Severity_of_Injury_in_the_Thorax, AIS_Severity__Maximum_Severity_of_Injury_in_the_Abdomen, AIS_Severity__Maximum_Severity_of_Injury_in_the_Spine, AIS_Severity__Maximum_Severity_of_Injury_in_the_Upper_Extremity, AIS_Severity__Maximum_Severity_of_Injury_in_the_Lower_Extremity, AIS_Severity__Maximum_Severity_of_Injury_in_Unspecified_Body_Regions, AIS_derived_ISS, Blood_Transfusion, Neurosurgical_Intervention, Cerebral_Monitoring, Alcohol_Screen, Alcohol_Screen_Result, Drug_Screen__Amphetamine, Drug_Screen__Barbiturate, Drug_Screen__Benzodiazepines, Drug_Screen__Cannabinoid, Drug_Screen__Cocaine, Drug_Screen__MDMA_or_Ecstasy, Drug_Screen__Methadone, Drug_Screen__Methamphetamine, Drug_Screen__Not_Tested, Drug_Screen__Opioid, Drug_Screen__Oxycodone, Drug_Screen__Phencyclidine, Drug_Screen__Tricyclic_Antidepressant, ACS_Verification_Level, Hospital_Type, Facility_Bed_Size, Primary_Method_of_Payment,],
448
  outputs = [label]
449
  )
450
 
451
  y1_predict_btn_cb.click(
452
  y1_predict_cb,
453
+ inputs = inputs = [Age, Sex, Race, Ethnicity, Weight, Height, Systolic_Blood_Pressure, Pulse_Rate, Supplemental_Oxygen, Pulse_Oximetry, Respiratory_Assistance, Respiratory_Rate, Temperature, PreHospital_Cardiac_Arrest, GCS__Eye, GCS__Verbal, GCS__Motor, Pupillary_Response, Midline_Shift, Current_Smoker, Comorbid_Condition__Alcohol_Use_Disorder, Comorbid_Condition__Substance_Abuse_Disorder, Comorbid_Condition__Diabetes_Mellitus, Comorbid_Condition__Hypertension, Comorbid_Condition__Congestive_Heart_Failure, History_of_Myocardial_Infarction, Comorbid_Condition__Angina_Pectoris, History_of_Cerebrovascular_Accident, Comorbid_Condition__Peripheral_Arterial_Disease, Comorbid_Condition__Chronic_Obstructive_Pulmonary_Disease, Comorbid_Condition__Chronic_Renal_Failure, Comorbid_Condition__Cirrhosis, Comorbid_Condition__Bleeding_Disorder, Comorbid_Condition__Disseminated_Cancer, Comorbid_Condition__Currently_Receiving_Chemotherapy_for_Cancer, Comorbid_Condition__Dementia, Comorbid_Condition__Attention_Deficit_Disorder_or_Attention_Deficit_Hyperactivity_Disorder, Comorbid_Condition__Mental_or_Personality_Disorder, Ability_to_Complete_AgeAppropriate_ADL, Pregnancy, Anticoagulant_Therapy, Steroid_Use, Advanced_Directive_Limiting_Care, Transport_Mode, InterFacility_Transfer, Trauma_Type, Injury_Intent, Mechanism_of_Injury, Protective_Device, WorkRelated, AIS_Severity__Maximum_Severity_of_Injury_in_the_Head, AIS_Severity__Maximum_Severity_of_Injury_in_the_Face, AIS_Severity__Maximum_Severity_of_Injury_in_the_Neck, AIS_Severity__Maximum_Severity_of_Injury_in_the_Thorax, AIS_Severity__Maximum_Severity_of_Injury_in_the_Abdomen, AIS_Severity__Maximum_Severity_of_Injury_in_the_Spine, AIS_Severity__Maximum_Severity_of_Injury_in_the_Upper_Extremity, AIS_Severity__Maximum_Severity_of_Injury_in_the_Lower_Extremity, AIS_Severity__Maximum_Severity_of_Injury_in_Unspecified_Body_Regions, AIS_derived_ISS, Blood_Transfusion, Neurosurgical_Intervention, Cerebral_Monitoring, Alcohol_Screen, Alcohol_Screen_Result, Drug_Screen__Amphetamine, Drug_Screen__Barbiturate, Drug_Screen__Benzodiazepines, Drug_Screen__Cannabinoid, Drug_Screen__Cocaine, Drug_Screen__MDMA_or_Ecstasy, Drug_Screen__Methadone, Drug_Screen__Methamphetamine, Drug_Screen__Not_Tested, Drug_Screen__Opioid, Drug_Screen__Oxycodone, Drug_Screen__Phencyclidine, Drug_Screen__Tricyclic_Antidepressant, ACS_Verification_Level, Hospital_Type, Facility_Bed_Size, Primary_Method_of_Payment,],
454
  outputs = [label]
455
  )
456
 
 
462
 
463
  y1_interpret_btn_xgb.click(
464
  y1_interpret_xgb,
465
+ inputs = inputs = [Age, Sex, Race, Ethnicity, Weight, Height, Systolic_Blood_Pressure, Pulse_Rate, Supplemental_Oxygen, Pulse_Oximetry, Respiratory_Assistance, Respiratory_Rate, Temperature, PreHospital_Cardiac_Arrest, GCS__Eye, GCS__Verbal, GCS__Motor, Pupillary_Response, Midline_Shift, Current_Smoker, Comorbid_Condition__Alcohol_Use_Disorder, Comorbid_Condition__Substance_Abuse_Disorder, Comorbid_Condition__Diabetes_Mellitus, Comorbid_Condition__Hypertension, Comorbid_Condition__Congestive_Heart_Failure, History_of_Myocardial_Infarction, Comorbid_Condition__Angina_Pectoris, History_of_Cerebrovascular_Accident, Comorbid_Condition__Peripheral_Arterial_Disease, Comorbid_Condition__Chronic_Obstructive_Pulmonary_Disease, Comorbid_Condition__Chronic_Renal_Failure, Comorbid_Condition__Cirrhosis, Comorbid_Condition__Bleeding_Disorder, Comorbid_Condition__Disseminated_Cancer, Comorbid_Condition__Currently_Receiving_Chemotherapy_for_Cancer, Comorbid_Condition__Dementia, Comorbid_Condition__Attention_Deficit_Disorder_or_Attention_Deficit_Hyperactivity_Disorder, Comorbid_Condition__Mental_or_Personality_Disorder, Ability_to_Complete_AgeAppropriate_ADL, Pregnancy, Anticoagulant_Therapy, Steroid_Use, Advanced_Directive_Limiting_Care, Transport_Mode, InterFacility_Transfer, Trauma_Type, Injury_Intent, Mechanism_of_Injury, Protective_Device, WorkRelated, AIS_Severity__Maximum_Severity_of_Injury_in_the_Head, AIS_Severity__Maximum_Severity_of_Injury_in_the_Face, AIS_Severity__Maximum_Severity_of_Injury_in_the_Neck, AIS_Severity__Maximum_Severity_of_Injury_in_the_Thorax, AIS_Severity__Maximum_Severity_of_Injury_in_the_Abdomen, AIS_Severity__Maximum_Severity_of_Injury_in_the_Spine, AIS_Severity__Maximum_Severity_of_Injury_in_the_Upper_Extremity, AIS_Severity__Maximum_Severity_of_Injury_in_the_Lower_Extremity, AIS_Severity__Maximum_Severity_of_Injury_in_Unspecified_Body_Regions, AIS_derived_ISS, Blood_Transfusion, Neurosurgical_Intervention, Cerebral_Monitoring, Alcohol_Screen, Alcohol_Screen_Result, Drug_Screen__Amphetamine, Drug_Screen__Barbiturate, Drug_Screen__Benzodiazepines, Drug_Screen__Cannabinoid, Drug_Screen__Cocaine, Drug_Screen__MDMA_or_Ecstasy, Drug_Screen__Methadone, Drug_Screen__Methamphetamine, Drug_Screen__Not_Tested, Drug_Screen__Opioid, Drug_Screen__Oxycodone, Drug_Screen__Phencyclidine, Drug_Screen__Tricyclic_Antidepressant, ACS_Verification_Level, Hospital_Type, Facility_Bed_Size, Primary_Method_of_Payment,],
466
  outputs = [plot],
467
  )
468
 
469
  y1_interpret_btn_lgb.click(
470
  y1_interpret_lgb,
471
+ inputs = inputs = [Age, Sex, Race, Ethnicity, Weight, Height, Systolic_Blood_Pressure, Pulse_Rate, Supplemental_Oxygen, Pulse_Oximetry, Respiratory_Assistance, Respiratory_Rate, Temperature, PreHospital_Cardiac_Arrest, GCS__Eye, GCS__Verbal, GCS__Motor, Pupillary_Response, Midline_Shift, Current_Smoker, Comorbid_Condition__Alcohol_Use_Disorder, Comorbid_Condition__Substance_Abuse_Disorder, Comorbid_Condition__Diabetes_Mellitus, Comorbid_Condition__Hypertension, Comorbid_Condition__Congestive_Heart_Failure, History_of_Myocardial_Infarction, Comorbid_Condition__Angina_Pectoris, History_of_Cerebrovascular_Accident, Comorbid_Condition__Peripheral_Arterial_Disease, Comorbid_Condition__Chronic_Obstructive_Pulmonary_Disease, Comorbid_Condition__Chronic_Renal_Failure, Comorbid_Condition__Cirrhosis, Comorbid_Condition__Bleeding_Disorder, Comorbid_Condition__Disseminated_Cancer, Comorbid_Condition__Currently_Receiving_Chemotherapy_for_Cancer, Comorbid_Condition__Dementia, Comorbid_Condition__Attention_Deficit_Disorder_or_Attention_Deficit_Hyperactivity_Disorder, Comorbid_Condition__Mental_or_Personality_Disorder, Ability_to_Complete_AgeAppropriate_ADL, Pregnancy, Anticoagulant_Therapy, Steroid_Use, Advanced_Directive_Limiting_Care, Transport_Mode, InterFacility_Transfer, Trauma_Type, Injury_Intent, Mechanism_of_Injury, Protective_Device, WorkRelated, AIS_Severity__Maximum_Severity_of_Injury_in_the_Head, AIS_Severity__Maximum_Severity_of_Injury_in_the_Face, AIS_Severity__Maximum_Severity_of_Injury_in_the_Neck, AIS_Severity__Maximum_Severity_of_Injury_in_the_Thorax, AIS_Severity__Maximum_Severity_of_Injury_in_the_Abdomen, AIS_Severity__Maximum_Severity_of_Injury_in_the_Spine, AIS_Severity__Maximum_Severity_of_Injury_in_the_Upper_Extremity, AIS_Severity__Maximum_Severity_of_Injury_in_the_Lower_Extremity, AIS_Severity__Maximum_Severity_of_Injury_in_Unspecified_Body_Regions, AIS_derived_ISS, Blood_Transfusion, Neurosurgical_Intervention, Cerebral_Monitoring, Alcohol_Screen, Alcohol_Screen_Result, Drug_Screen__Amphetamine, Drug_Screen__Barbiturate, Drug_Screen__Benzodiazepines, Drug_Screen__Cannabinoid, Drug_Screen__Cocaine, Drug_Screen__MDMA_or_Ecstasy, Drug_Screen__Methadone, Drug_Screen__Methamphetamine, Drug_Screen__Not_Tested, Drug_Screen__Opioid, Drug_Screen__Oxycodone, Drug_Screen__Phencyclidine, Drug_Screen__Tricyclic_Antidepressant, ACS_Verification_Level, Hospital_Type, Facility_Bed_Size, Primary_Method_of_Payment,],
472
  outputs = [plot],
473
  )
474
 
475
  y1_interpret_btn_cb.click(
476
  y1_interpret_cb,
477
+ inputs = inputs = [Age, Sex, Race, Ethnicity, Weight, Height, Systolic_Blood_Pressure, Pulse_Rate, Supplemental_Oxygen, Pulse_Oximetry, Respiratory_Assistance, Respiratory_Rate, Temperature, PreHospital_Cardiac_Arrest, GCS__Eye, GCS__Verbal, GCS__Motor, Pupillary_Response, Midline_Shift, Current_Smoker, Comorbid_Condition__Alcohol_Use_Disorder, Comorbid_Condition__Substance_Abuse_Disorder, Comorbid_Condition__Diabetes_Mellitus, Comorbid_Condition__Hypertension, Comorbid_Condition__Congestive_Heart_Failure, History_of_Myocardial_Infarction, Comorbid_Condition__Angina_Pectoris, History_of_Cerebrovascular_Accident, Comorbid_Condition__Peripheral_Arterial_Disease, Comorbid_Condition__Chronic_Obstructive_Pulmonary_Disease, Comorbid_Condition__Chronic_Renal_Failure, Comorbid_Condition__Cirrhosis, Comorbid_Condition__Bleeding_Disorder, Comorbid_Condition__Disseminated_Cancer, Comorbid_Condition__Currently_Receiving_Chemotherapy_for_Cancer, Comorbid_Condition__Dementia, Comorbid_Condition__Attention_Deficit_Disorder_or_Attention_Deficit_Hyperactivity_Disorder, Comorbid_Condition__Mental_or_Personality_Disorder, Ability_to_Complete_AgeAppropriate_ADL, Pregnancy, Anticoagulant_Therapy, Steroid_Use, Advanced_Directive_Limiting_Care, Transport_Mode, InterFacility_Transfer, Trauma_Type, Injury_Intent, Mechanism_of_Injury, Protective_Device, WorkRelated, AIS_Severity__Maximum_Severity_of_Injury_in_the_Head, AIS_Severity__Maximum_Severity_of_Injury_in_the_Face, AIS_Severity__Maximum_Severity_of_Injury_in_the_Neck, AIS_Severity__Maximum_Severity_of_Injury_in_the_Thorax, AIS_Severity__Maximum_Severity_of_Injury_in_the_Abdomen, AIS_Severity__Maximum_Severity_of_Injury_in_the_Spine, AIS_Severity__Maximum_Severity_of_Injury_in_the_Upper_Extremity, AIS_Severity__Maximum_Severity_of_Injury_in_the_Lower_Extremity, AIS_Severity__Maximum_Severity_of_Injury_in_Unspecified_Body_Regions, AIS_derived_ISS, Blood_Transfusion, Neurosurgical_Intervention, Cerebral_Monitoring, Alcohol_Screen, Alcohol_Screen_Result, Drug_Screen__Amphetamine, Drug_Screen__Barbiturate, Drug_Screen__Benzodiazepines, Drug_Screen__Cannabinoid, Drug_Screen__Cocaine, Drug_Screen__MDMA_or_Ecstasy, Drug_Screen__Methadone, Drug_Screen__Methamphetamine, Drug_Screen__Not_Tested, Drug_Screen__Opioid, Drug_Screen__Oxycodone, Drug_Screen__Phencyclidine, Drug_Screen__Tricyclic_Antidepressant, ACS_Verification_Level, Hospital_Type, Facility_Bed_Size, Primary_Method_of_Payment,],
478
  outputs = [plot],
479
  )
480
 
481
  y1_interpret_btn_rf.click(
482
  y1_interpret_rf,
483
+ inputs = inputs = [Age, Sex, Race, Ethnicity, Weight, Height, Systolic_Blood_Pressure, Pulse_Rate, Supplemental_Oxygen, Pulse_Oximetry, Respiratory_Assistance, Respiratory_Rate, Temperature, PreHospital_Cardiac_Arrest, GCS__Eye, GCS__Verbal, GCS__Motor, Pupillary_Response, Midline_Shift, Current_Smoker, Comorbid_Condition__Alcohol_Use_Disorder, Comorbid_Condition__Substance_Abuse_Disorder, Comorbid_Condition__Diabetes_Mellitus, Comorbid_Condition__Hypertension, Comorbid_Condition__Congestive_Heart_Failure, History_of_Myocardial_Infarction, Comorbid_Condition__Angina_Pectoris, History_of_Cerebrovascular_Accident, Comorbid_Condition__Peripheral_Arterial_Disease, Comorbid_Condition__Chronic_Obstructive_Pulmonary_Disease, Comorbid_Condition__Chronic_Renal_Failure, Comorbid_Condition__Cirrhosis, Comorbid_Condition__Bleeding_Disorder, Comorbid_Condition__Disseminated_Cancer, Comorbid_Condition__Currently_Receiving_Chemotherapy_for_Cancer, Comorbid_Condition__Dementia, Comorbid_Condition__Attention_Deficit_Disorder_or_Attention_Deficit_Hyperactivity_Disorder, Comorbid_Condition__Mental_or_Personality_Disorder, Ability_to_Complete_AgeAppropriate_ADL, Pregnancy, Anticoagulant_Therapy, Steroid_Use, Advanced_Directive_Limiting_Care, Transport_Mode, InterFacility_Transfer, Trauma_Type, Injury_Intent, Mechanism_of_Injury, Protective_Device, WorkRelated, AIS_Severity__Maximum_Severity_of_Injury_in_the_Head, AIS_Severity__Maximum_Severity_of_Injury_in_the_Face, AIS_Severity__Maximum_Severity_of_Injury_in_the_Neck, AIS_Severity__Maximum_Severity_of_Injury_in_the_Thorax, AIS_Severity__Maximum_Severity_of_Injury_in_the_Abdomen, AIS_Severity__Maximum_Severity_of_Injury_in_the_Spine, AIS_Severity__Maximum_Severity_of_Injury_in_the_Upper_Extremity, AIS_Severity__Maximum_Severity_of_Injury_in_the_Lower_Extremity, AIS_Severity__Maximum_Severity_of_Injury_in_Unspecified_Body_Regions, AIS_derived_ISS, Blood_Transfusion, Neurosurgical_Intervention, Cerebral_Monitoring, Alcohol_Screen, Alcohol_Screen_Result, Drug_Screen__Amphetamine, Drug_Screen__Barbiturate, Drug_Screen__Benzodiazepines, Drug_Screen__Cannabinoid, Drug_Screen__Cocaine, Drug_Screen__MDMA_or_Ecstasy, Drug_Screen__Methadone, Drug_Screen__Methamphetamine, Drug_Screen__Not_Tested, Drug_Screen__Opioid, Drug_Screen__Oxycodone, Drug_Screen__Phencyclidine, Drug_Screen__Tricyclic_Antidepressant, ACS_Verification_Level, Hospital_Type, Facility_Bed_Size, Primary_Method_of_Payment,],
484
  outputs = [plot],
485
  )
486
 
487
+ demo.launch()