serenarolloh commited on
Commit
545d7ce
·
verified ·
1 Parent(s): 948d2eb

Update routers/inference.py

Browse files
Files changed (1) hide show
  1. routers/inference.py +1 -1
routers/inference.py CHANGED
@@ -35,7 +35,7 @@ def count_values(obj):
35
 
36
  @router.post("/inference")
37
  async def run_inference(file: Optional[UploadFile] = File(None), image_url: Optional[str] = Form(None),
38
- model_in_use: str = Form('donut'), shipper_id: Optional[str] = Form(default_shipper)
39
  ):
40
 
41
 
 
35
 
36
  @router.post("/inference")
37
  async def run_inference(file: Optional[UploadFile] = File(None), image_url: Optional[str] = Form(None),
38
+ model_in_use: str = Form('donut'), shipper_id: Optional[int] = Form(None)
39
  ):
40
 
41