Spaces:
Build error
Build error
Commit
·
00ee644
1
Parent(s):
cadb17d
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,9 +32,8 @@ def main_func(ValueDiversity,AdequateResources,Voice,GrowthAdvancement,Workload,
|
|
| 32 |
return {"Leave": float(prob[0][0]), "Stay": 1-float(prob[0][0])}, local_plot
|
| 33 |
|
| 34 |
# Create the UI
|
| 35 |
-
title = "**
|
| 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 = """
|
|
|
|
| 32 |
return {"Leave": float(prob[0][0]), "Stay": 1-float(prob[0][0])}, local_plot
|
| 33 |
|
| 34 |
# Create the UI
|
| 35 |
+
title = "**Heart Attack Predictor & Interpreter** 🪐"
|
| 36 |
+
description1 = """ This app takes info from subjects and predicts their heart attack likelihood. Do not use for medical.
|
|
|
|
| 37 |
"""
|
| 38 |
|
| 39 |
description2 = """
|