Mpodszus commited on
Commit
cc1ce4d
·
verified ·
1 Parent(s): 5236705

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,8 +38,8 @@ def main_func(SupportiveGM, Merit, LearningDevelopment, WorkEnvironment, Engagem
38
  local_plot = plt.gcf()
39
  plt.rcParams['figure.figsize'] = (6, 4)
40
  plt.close()
41
-
42
- return {"Leave": float(prob[0][0]), "Stay": 1-float(prob[0][0])}, local_plot
43
 
44
  # Create the UI
45
  title = "**Mod 3 Team 5: Employee Turnover Predictor**"
 
38
  local_plot = plt.gcf()
39
  plt.rcParams['figure.figsize'] = (6, 4)
40
  plt.close()
41
+
42
+ return {"Leave": float(prob[0][0]), "Stay": 1-float(prob[0][0])}, local_plot
43
 
44
  # Create the UI
45
  title = "**Mod 3 Team 5: Employee Turnover Predictor**"