Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def main_func(Engage2, Voice, Merit, Workload, WellBeing, SupportiveGM,
|
|
47 |
local_plot = plt.gcf()
|
48 |
plt.close()
|
49 |
|
50 |
-
return {"
|
51 |
|
52 |
# Updates the sliders so that they show the values of each of the profiles
|
53 |
def update_sliders(profile):
|
|
|
47 |
local_plot = plt.gcf()
|
48 |
plt.close()
|
49 |
|
50 |
+
return {"Leave β": float(prob[0][0]), "Stay β
": 1 - float(prob[0][0])}, local_plot
|
51 |
|
52 |
# Updates the sliders so that they show the values of each of the profiles
|
53 |
def update_sliders(profile):
|