licorne2lc commited on
Commit
af9b0b5
·
1 Parent(s): dc51856

Correction endpoint racine et ajout gunicorn

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ class PredictionFeatures(BaseModel):
54
 
55
  @app.get("/", tags=["Simple Endpoint"])
56
  async def index():
57
- return {"message": "Hello World!"}
58
 
59
  @app.post("/predict", tags=["Prediction"])
60
  async def predict(features: PredictionFeatures):
 
54
 
55
  @app.get("/", tags=["Simple Endpoint"])
56
  async def index():
57
+ return {"message": "bienvenue sur l'api GET Around! auteur---> Jerome Moulinier"}
58
 
59
  @app.post("/predict", tags=["Prediction"])
60
  async def predict(features: PredictionFeatures):