rasmodev commited on
Commit
977fa18
·
verified ·
1 Parent(s): d047b75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -20
app.py CHANGED
@@ -177,25 +177,5 @@ def main():
177
  # General recommendation for all negative predictions
178
  st.markdown("- **Exit Interviews**: Conduct exit interviews to gather feedback and identify areas for improvement in retention strategies.")
179
 
180
- # Add the attrition prediction to the input DataFrame
181
- input_data['Attrition'] = prediction
182
-
183
- # Convert the input data to a pandas DataFrame
184
- input_df = pd.DataFrame([input_data])
185
-
186
- # Display the input DataFrame with attrition prediction
187
- st.markdown(
188
- f"""
189
- <div style="text-align: center; font-size: 18px; font-weight: bold;">
190
- <p>Input Data with Attrition Prediction</p>
191
- </div>
192
- """,
193
- unsafe_allow_html=True
194
- )
195
- st.table(input_df)
196
-
197
- except Exception as e:
198
- st.error(f"An error occurred: {e}")
199
-
200
  if __name__ == "__main__":
201
  main()
 
177
  # General recommendation for all negative predictions
178
  st.markdown("- **Exit Interviews**: Conduct exit interviews to gather feedback and identify areas for improvement in retention strategies.")
179
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
  if __name__ == "__main__":
181
  main()