Spaces:
Sleeping
Sleeping
Commit
·
b977b10
1
Parent(s):
2ac861c
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,11 +34,11 @@ def main_func(ValueDiversity,AdequateResources,Voice,GrowthAdvancement,Workload,
|
|
| 34 |
# Create the UI
|
| 35 |
title = "**Employee Turnover Predictor & Interpreter** 🪐"
|
| 36 |
description1 = """
|
| 37 |
-
This app takes six inputs about employees' satisfaction with different aspects of their work (such as work-life balance, ...) and predicts whether the employee intends to stay with the employer or leave. There are two outputs from the app: 1- the predicted probability of stay or leave, 2- Shapley's force-plot which visualizes the extent to which each factor impacts the stay/ leave prediction
|
| 38 |
"""
|
| 39 |
|
| 40 |
description2 = """
|
| 41 |
-
To use the app, click on one of the examples, or adjust the values of the six employee satisfaction factors, and click on Analyze.
|
| 42 |
"""
|
| 43 |
|
| 44 |
with gr.Blocks(title=title) as demo:
|
|
|
|
| 34 |
# Create the UI
|
| 35 |
title = "**Employee Turnover Predictor & Interpreter** 🪐"
|
| 36 |
description1 = """
|
| 37 |
+
This app takes six inputs about employees' satisfaction with different aspects of their work (such as work-life balance, ...) and predicts whether the employee intends to stay with the employer or leave. There are two outputs from the app: 1- the predicted probability of stay or leave, 2- Shapley's force-plot which visualizes the extent to which each factor impacts the stay/ leave prediction.
|
| 38 |
"""
|
| 39 |
|
| 40 |
description2 = """
|
| 41 |
+
To use the app, click on one of the examples, or adjust the values of the six employee satisfaction factors, and click on Analyze. ✨
|
| 42 |
"""
|
| 43 |
|
| 44 |
with gr.Blocks(title=title) as demo:
|