VrundavGamit commited on
Commit
8be0cce
·
verified ·
1 Parent(s): 31d5371

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def home():
14
  return "Welcome to the Telecom Customer Churn Prediction API"
15
 
16
  # Define an endpoint to predict churn for a single customer
17
- @app.post('/v1/customer1')
18
  def predict_churn():
19
  # Get JSON data from the request
20
  customer_data = request.get_json()
 
14
  return "Welcome to the Telecom Customer Churn Prediction API"
15
 
16
  # Define an endpoint to predict churn for a single customer
17
+ @app.post('/v1/customer')
18
  def predict_churn():
19
  # Get JSON data from the request
20
  customer_data = request.get_json()