3zoozzn commited on
Commit
123a469
1 Parent(s): 6b64f56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ smoking_status = gr.inputs.Dropdown(
40
  # Create the interface
41
  inputs = [gender, age, hypertension, heart_disease, ever_married,
42
  work_type, residence_type, avg_glucose_level, bmi, smoking_status]
43
- outputs = gr.outputs.Textbox(label="Stroke Probability")
44
 
45
  # Launch the interface
46
  demo = gr.Interface(fn=predict, inputs=inputs, outputs=outputs, title="Stroke Prediction",
 
40
  # Create the interface
41
  inputs = [gender, age, hypertension, heart_disease, ever_married,
42
  work_type, residence_type, avg_glucose_level, bmi, smoking_status]
43
+ outputs = gr.Lable(lable='Result')
44
 
45
  # Launch the interface
46
  demo = gr.Interface(fn=predict, inputs=inputs, outputs=outputs, title="Stroke Prediction",