Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
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",
|