jonathanjordan21 commited on
Commit
9f4501c
·
verified ·
1 Parent(s): 0cf1760

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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,