Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -127,7 +127,7 @@ input_config = obj_config + int_config
|
|
| 127 |
# Gradio Interface
|
| 128 |
iface = gr.Interface(
|
| 129 |
title="Attrition Prediction",
|
| 130 |
-
description = "The values shown under top features shows influence of each feature on the prediction. A higher number indicates that the feature is more influential in determining the prediction, while a lower number indicates less influence.",
|
| 131 |
allow_flagging='never',
|
| 132 |
fn=predict_label,
|
| 133 |
inputs=input_config,
|
|
@@ -139,4 +139,4 @@ iface = gr.Interface(
|
|
| 139 |
)
|
| 140 |
|
| 141 |
# Launch the Gradio interface
|
| 142 |
-
iface.launch(share=True)
|
|
|
|
| 127 |
# Gradio Interface
|
| 128 |
iface = gr.Interface(
|
| 129 |
title="Attrition Prediction",
|
| 130 |
+
description = "This app predicts if an employee in your organisation would resign or not. The values shown under top features shows influence of each feature on the prediction. A higher number indicates that the feature is more influential in determining the prediction, while a lower number indicates less influence.",
|
| 131 |
allow_flagging='never',
|
| 132 |
fn=predict_label,
|
| 133 |
inputs=input_config,
|
|
|
|
| 139 |
)
|
| 140 |
|
| 141 |
# Launch the Gradio interface
|
| 142 |
+
iface.launch(share=True)
|