sp1505 commited on
Commit
bfba04d
·
verified ·
1 Parent(s): 9d389ca

Upload folder using huggingface_hub

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