zapatacc commited on
Commit
b5b8715
·
1 Parent(s): f62221b

updating the Dockerfile

Browse files
Files changed (1) hide show
  1. main.py +5 -1
main.py CHANGED
@@ -74,4 +74,8 @@ def predict_endpoint(input_data: InputData):
74
 
75
  return {
76
  "prediction": float(result)
77
- }
 
 
 
 
 
74
 
75
  return {
76
  "prediction": float(result)
77
+ }
78
+
79
+ @app.get("/")
80
+ def health_check():
81
+ return {"healthy": True}