krishpvg commited on
Commit
a71c8ab
·
verified ·
1 Parent(s): c263f48

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -26,10 +26,10 @@ def predict_sales():
26
  'Store_Type': product_data['Store_Type']
27
 
28
  }
29
- input_data = pd.DataFrame([sample])
30
 
31
- prediction = model.predict(input_data).tolist()[0]
32
- return jsonify({'prediction': prediction})
33
 
34
  if __name__ == '__main__':
35
  app.run(debug=True)
 
26
  'Store_Type': product_data['Store_Type']
27
 
28
  }
29
+ input_data = pd.DataFrame([sample])
30
 
31
+ prediction = model.predict(input_data).tolist()[0]
32
+ return jsonify({'prediction': prediction})
33
 
34
  if __name__ == '__main__':
35
  app.run(debug=True)