code: def __init__(self, location: FilePath):
      self.location = location
      self.instance = torch.jit.load(location)
  
imports: import dataclasses
  from dataclasses import dataclass, field, make_dataclass
  from pathlib import Path
  from typing import Dict, Iterator, List, NamedTuple, Optional, Tuple, Type, TypeVar, Union
  import pytorch_lightning
  import torch
  from flash.core.serve.types.base import BaseType
  from flash.core.serve.utils import download_file
  from flash.core.utilities.imports import _PYDANTIC_AVAILABLE, requires
label_desc: Use image node_id 1 to create a new FlashServeScriptLoader object  with example: obj = FlashServeScriptLoader(location)