jonathanjordan21
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -588,8 +588,8 @@ def build_outputs(results, descriptions, result_details, plate_number):
|
|
588 |
|
589 |
app = FastAPI()
|
590 |
|
591 |
-
@app.post("/")
|
592 |
-
def greet_json(
|
593 |
message : str,
|
594 |
threshold : float = 0.0005,
|
595 |
tarif_pkb : float = 0.015,
|
|
|
588 |
|
589 |
app = FastAPI()
|
590 |
|
591 |
+
@app.post("/pred")
|
592 |
+
async def greet_json(
|
593 |
message : str,
|
594 |
threshold : float = 0.0005,
|
595 |
tarif_pkb : float = 0.015,
|