sudhirpgcmma02 commited on
Commit
cc25a9a
·
verified ·
1 Parent(s): 4052b81

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. api.py +1 -2
api.py CHANGED
@@ -49,8 +49,7 @@ def predict():
49
  return jsonify({"error": "Missing 'store_id'"}), 400
50
 
51
  try:
52
- #model, meta = load_store_model(store_id)
53
- jsonify({"you clicked predict"})
54
  except FileNotFoundError as e:
55
  return jsonify({"error": str(e)}), 404
56
 
 
49
  return jsonify({"error": "Missing 'store_id'"}), 400
50
 
51
  try:
52
+ model, meta = load_store_model(store_id)
 
53
  except FileNotFoundError as e:
54
  return jsonify({"error": str(e)}), 404
55