code: def __init__(self, model):
      self.model = model
  
imports: import torchvision
  from flash.core.serve import Composition, ModelComponent, expose
  from flash.core.serve.types import BBox, Image, Label, Repeated
label_desc: Use image node_id 1 to create a new ObjectDetection object from inherited base classes: ModelComponent with example: obj = ObjectDetection(model)