Enoch1359 commited on
Commit
f7741f9
·
verified ·
1 Parent(s): 8a6669e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -47,9 +47,10 @@ def sale_pred_batch():
47
 
48
  # Create response
49
  response = dict(zip(sale_outlets, predicted_sales))
 
50
  print("Response:", response)
51
 
52
- return jsonify(response)
53
 
54
  if __name__=='__main__':
55
  super_kart_api.run()
 
47
 
48
  # Create response
49
  response = dict(zip(sale_outlets, predicted_sales))
50
+ repshape=dict(zip(input_data.shape,len(predicted_sale)))
51
  print("Response:", response)
52
 
53
+ return jsonify(response) jsonify(repshape)
54
 
55
  if __name__=='__main__':
56
  super_kart_api.run()