Parthebhan commited on
Commit
42846e5
·
verified ·
1 Parent(s): fbcffad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,9 +11,9 @@ def salifort(last_evaluation, number_project, tenure, work_accident, promotion_l
11
  prediction = model.predict(inputs)
12
  prediction_value = prediction[0]
13
  if prediction_value == 0:
14
- label_text = 'Employee would not leave the company.'
15
  else:
16
- label_text = 'Employee will leave the company.'
17
  return label_text
18
 
19
  # Create the Gradio interface
 
11
  prediction = model.predict(inputs)
12
  prediction_value = prediction[0]
13
  if prediction_value == 0:
14
+ label_text = 'Employee would not leave the company 🟢'
15
  else:
16
+ label_text = 'Employee will leave the company 🔴'
17
  return label_text
18
 
19
  # Create the Gradio interface