rahulg1987 commited on
Commit
5d06c6b
·
verified ·
1 Parent(s): 8086088

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def mytest():
19
 
20
  # Define an endpoint to predict sales
21
  @app.post('/v1/totalsales')
22
- def predict_price():
23
  # Get JSON data from the request
24
  sales_data = request.get_json()
25
 
 
19
 
20
  # Define an endpoint to predict sales
21
  @app.post('/v1/totalsales')
22
+ def totalsales():
23
  # Get JSON data from the request
24
  sales_data = request.get_json()
25