code: def get_remote_window_service(
      service: TokenizerService, model_name: str
  ):
      if model_name in remote_window_services:
          return remote_window_services[model_name](service, model_name)
      else:
          return RemoteWindowService(service, model_name)
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/window_services/remote_window_service.py
imports: from typing import Dict, Type
  from .local_window_service import LocalWindowService
  from .tokenizer_service import TokenizerService
label_desc: Use image node_id 1 for calling a global function with example usage: get_remote_window_service(service, model_name) and returns: remote_window_services, RemoteWindowService