Lokiiparihar commited on
Commit
22d1001
·
verified ·
1 Parent(s): 58cee9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,5 +55,5 @@ def predict():
55
  "ModelUsed": model_choice
56
  })
57
 
58
- except Exception as e:
59
- return jsonify({"error": str(e)}), 500
 
55
  "ModelUsed": model_choice
56
  })
57
 
58
+ if __name__ == '__main__':
59
+ sales_prediction_api.run(debug=True)