jarpan03 commited on
Commit
39d455a
·
verified ·
1 Parent(s): 3e77e29

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def predict_product_sales_price():
44
 
45
  # Define an endpoint to predict product sales price for a batch of product
46
  @super_kart_api.post('/v1/productbatch')
47
- def predict_house_batch():
48
  # Get the uploaded CSV file from the request
49
  file = request.files['file']
50
 
@@ -61,6 +61,7 @@ def predict_house_batch():
61
  result = input_data.to_dict(orient="records")
62
 
63
  return jsonify(result)
 
64
 
65
  # Run the Flask app in debug mode
66
  if __name__ == '__main__':
 
44
 
45
  # Define an endpoint to predict product sales price for a batch of product
46
  @super_kart_api.post('/v1/productbatch')
47
+ def predict_product_batch():
48
  # Get the uploaded CSV file from the request
49
  file = request.files['file']
50
 
 
61
  result = input_data.to_dict(orient="records")
62
 
63
  return jsonify(result)
64
+
65
 
66
  # Run the Flask app in debug mode
67
  if __name__ == '__main__':