HarishMaths commited on
Commit
d240346
·
verified ·
1 Parent(s): a895457

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def home():
17
  return "Welcome to the Lead Prediction System"
18
 
19
  # Define an endpoint to predict churn for a single customer
20
- @superkart_api.post('/v1/predict')
21
  def predict_sales():
22
  # Get JSON data from the request
23
  data = request.get_json()
 
17
  return "Welcome to the Lead Prediction System"
18
 
19
  # Define an endpoint to predict churn for a single customer
20
+ @learn_api.post('/v1/predict')
21
  def predict_sales():
22
  # Get JSON data from the request
23
  data = request.get_json()