code: def __init__(self, model):  # skipcq: PYL-W0621
      self.model = model
  
file_path: lightning-flash/examples/serve/generic/boston_prediction/inference_server.py
imports: import hummingbird.ml
  import sklearn.datasets
  from flash.core.serve import Composition, ModelComponent, expose
  from flash.core.serve.types import Number, Table
label_desc: Use image node_id 1 to create a new PricePrediction object from inherited base classes: ModelComponent with example: obj = PricePrediction(model)