Diaure commited on
Commit
8b3d721
·
verified ·
1 Parent(s): 1eb2c18

CD: update from GitHub main

Browse files
Files changed (1) hide show
  1. App/main.py +4 -0
App/main.py CHANGED
@@ -6,6 +6,10 @@ import json
6
  from App.models import ClientFeatures
7
 
8
  app = FastAPI()
 
 
 
 
9
 
10
  # Charger le pipeline MLflow (attend les colonnes ORIGINALES)
11
  pipe = joblib.load("./BestModel/pipeline_complet.joblib")
 
6
  from App.models import ClientFeatures
7
 
8
  app = FastAPI()
9
+ @app.get("/")
10
+ def root():
11
+ return {"status": "ok"}
12
+
13
 
14
  # Charger le pipeline MLflow (attend les colonnes ORIGINALES)
15
  pipe = joblib.load("./BestModel/pipeline_complet.joblib")