|
@@ -26,7 +26,7 @@ class PredictBoundingBox(View):
|
|
|
self.jobs = jobs
|
|
|
self.pipelines = pipelines
|
|
|
|
|
|
- def dispatch_request(self, file_id, bbox_id):
|
|
|
+ def dispatch_request(self, user: str, file_id, bbox_id):
|
|
|
# find file and result (=bounding box)
|
|
|
# We need the result to get (x,y,w,h)
|
|
|
file = File.get_or_404(file_id)
|