Spaces:
Sleeping
Sleeping
Commit ·
af9b0b5
1
Parent(s): dc51856
Correction endpoint racine et ajout gunicorn
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ class PredictionFeatures(BaseModel):
|
|
| 54 |
|
| 55 |
@app.get("/", tags=["Simple Endpoint"])
|
| 56 |
async def index():
|
| 57 |
-
return {"message": "
|
| 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):
|