gauravsahu1990 commited on
Commit
b3ffc44
·
verified ·
1 Parent(s): 72bce8e

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def predict_capacity():
73
  return jsonify({'error': str(e)}), 400
74
 
75
  # Define an endpoint to predict churn for a batch of customers
76
- @app.post('/predict_batch')
77
  def predict_capacity_batch():
78
  """
79
  Expects JSON input with a list of store capacity data.
 
73
  return jsonify({'error': str(e)}), 400
74
 
75
  # Define an endpoint to predict churn for a batch of customers
76
+ @app.post('/v1/predict_batch')
77
  def predict_capacity_batch():
78
  """
79
  Expects JSON input with a list of store capacity data.