code: def add_RivaTranslateServicer_to_server(servicer, server):
      rpc_method_handlers = {
          "TranslateText": grpc.unary_unary_rpc_method_handler(
              servicer.TranslateText,
              request_deserializer=nmt__pb2.TranslateTextRequest.FromString,
              response_serializer=nmt__pb2.TranslateTextResponse.SerializeToString,
          ),
      }
      generic_handler = grpc.method_handlers_generic_handler(
          "nvidia.riva.nmt.RivaTranslate", rpc_method_handlers
      )
      server.add_generic_rpc_handlers((generic_handler,))
  
file_path: NeMo/tools/nmt_grpc_service/api/nmt_pb2_grpc.py
imports: import grpc
  from .None import nmt_pb2
label_desc: Use image node_id 1 for calling a global function with example usage: add_RivaTranslateServicer_to_server(servicer, server) without return types