Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	Update routers/inference.py
Browse files- routers/inference.py +2 -1
 
    	
        routers/inference.py
    CHANGED
    
    | 
         @@ -29,7 +29,8 @@ def count_values(obj): 
     | 
|
| 29 | 
         | 
| 30 | 
         
             
            @router.post("/inference")
         
     | 
| 31 | 
         
             
            async def run_inference(file: Optional[UploadFile] = File(None), image_url: Optional[str] = Form(None),
         
     | 
| 32 | 
         
            -
                                    model_in_use: str = Form('donut')) 
     | 
| 
         | 
|
| 33 | 
         | 
| 34 | 
         | 
| 35 | 
         
             
                result = []
         
     | 
| 
         | 
|
| 29 | 
         | 
| 30 | 
         
             
            @router.post("/inference")
         
     | 
| 31 | 
         
             
            async def run_inference(file: Optional[UploadFile] = File(None), image_url: Optional[str] = Form(None),
         
     | 
| 32 | 
         
            +
                                    model_in_use: str = Form('donut'), shipper_id: Optional[str] = Form(None)
         
     | 
| 33 | 
         
            +
            ):
         
     | 
| 34 | 
         | 
| 35 | 
         | 
| 36 | 
         
             
                result = []
         
     |