harishsohani commited on
Commit
935efb0
·
verified ·
1 Parent(s): 723627a

Upload folder using huggingface_hub

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