code: def __init__(
      self,
      api_type: str,
      model_path: str,
      model_loader: Callable,
      preprocess_fn: Callable = None,
      postprocess_fn: Callable = None,
      **kwargs,
  ):
      super().__init__(
          api_type,
          model_path=model_path,
          model_loader=model_loader,
          preprocess_fn=preprocess_fn,
          postprocess_fn=postprocess_fn,
          **kwargs,
      )
  
      self.app = Chalice(app_name=kwargs.get("name", "chitra-server"))
  
file_path: chitra/chitra/serve/cloud/aws_serverless.py
imports: from typing import Callable, List, Optional
  from chalice import Chalice, Rate
  from chitra.logging import logger
  from chitra.serve.cloud.base import CloudServer
label_desc: Use image node_id 1 to create a new ChaliceServer object from inherited base classes: CloudServer with example: obj = ChaliceServer(api_type, model_path, model_loader, preprocess_fn, postprocess_fn)