Debmalya commited on
Commit
cd84d16
·
1 Parent(s): ed70faa
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ exp_clf101 = setup(data = healthcare_stroke_data, target = 'stroke', session_id=
14
  best = compare_models(sort = 'AUC', n_select = 15)
15
  compare_model_results = pull()
16
 
17
- model = gr.inputs.Dropdown(adaclassifier3,label="Model")
18
  gender = gr.inputs.Dropdown(choices=["Male", "Female"],label = 'gender')
19
  age = gr.inputs.Slider(minimum=1, maximum=100, default=data['age'].mean(), label = 'age')
20
  hypertension = gr.inputs.Dropdown(choices=["1", "0"],label = 'hypertension')
 
14
  best = compare_models(sort = 'AUC', n_select = 15)
15
  compare_model_results = pull()
16
 
17
+ model = gr.inputs.Dropdown(list(compare_model_results['Model']),label="Model")
18
  gender = gr.inputs.Dropdown(choices=["Male", "Female"],label = 'gender')
19
  age = gr.inputs.Slider(minimum=1, maximum=100, default=data['age'].mean(), label = 'age')
20
  hypertension = gr.inputs.Dropdown(choices=["1", "0"],label = 'hypertension')