TheHumanAgent commited on
Commit
777731b
·
verified ·
1 Parent(s): f01d459

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ if st.button("Predict", type='primary'):
38
  churn_prediction = result["Prediction"] # Extract only the value
39
  st.write(f"Based on the information provided, the customer with ID {CustomerID} is likely to {churn_prediction}.")
40
  else:
41
- st.error("Error in API request")
42
 
43
  # Batch Prediction
44
  st.subheader("Batch Prediction")
 
38
  churn_prediction = result["Prediction"] # Extract only the value
39
  st.write(f"Based on the information provided, the customer with ID {CustomerID} is likely to {churn_prediction}.")
40
  else:
41
+ st.error(f"Error in API request: {response}")
42
 
43
  # Batch Prediction
44
  st.subheader("Batch Prediction")