util.py 144 B

1234567
  1. import json
  2. def load_spec(path_to_model_file):
  3. with open(path_to_model_file, 'r') as file:
  4. model=json.load(file)
  5. return model