bala-ai commited on
Commit
1cf4c84
·
verified ·
1 Parent(s): 76887b8

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,10 +63,10 @@ def predict_kart_sales():
63
 
64
 
65
  # Define an endpoint for batch prediction (POST request)
66
- @super_kart_sales_predictor_api.post('/v1/batch')
67
  def predict_kart_sales_batch():
68
  """
69
- This function handles POST requests to the '/v1/rentalbatch' endpoint.
70
  It expects a CSV file containing property details for multiple properties
71
  and returns the predicted sales as a dictionary in the JSON response.
72
  """
 
63
 
64
 
65
  # Define an endpoint for batch prediction (POST request)
66
+ @super_kart_sales_predictor_api.post('/v1/kartBatch')
67
  def predict_kart_sales_batch():
68
  """
69
+ This function handles POST requests to the '/v1/kartBatch' endpoint.
70
  It expects a CSV file containing property details for multiple properties
71
  and returns the predicted sales as a dictionary in the JSON response.
72
  """