vijayendras commited on
Commit
2ac3ac1
·
verified ·
1 Parent(s): cfb0481

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ def predict_sales():
58
  prediction = model.predict(input_data)[0]
59
 
60
  # Return the prediction as a JSON response
61
- return jsonify({'Status': prediction})
62
  #return jsonify({'Status': float(prediction)})
63
 
64
 
 
58
  prediction = model.predict(input_data)[0]
59
 
60
  # Return the prediction as a JSON response
61
+ return jsonify({'Status': int(prediction)})
62
  #return jsonify({'Status': float(prediction)})
63
 
64