avraux
commited on
Commit
•
5276a25
1
Parent(s):
f35d21e
test route
Browse files
app.py
CHANGED
@@ -28,3 +28,7 @@ def predict(data: InputData):
|
|
28 |
input_json = data.dict()
|
29 |
result = preprocess_and_predict(input_json)
|
30 |
return result
|
|
|
|
|
|
|
|
|
|
28 |
input_json = data.dict()
|
29 |
result = preprocess_and_predict(input_json)
|
30 |
return result
|
31 |
+
|
32 |
+
@app.get("/test")
|
33 |
+
def test_route():
|
34 |
+
return {"status": "L'API est en ligne et fonctionnelle"}
|