Tachi67 commited on
Commit
d9d05c8
·
1 Parent(s): 753ae1d

Update run_planwriter.py

Browse files
Files changed (1) hide show
  1. run_planwriter.py +2 -2
run_planwriter.py CHANGED
@@ -8,7 +8,7 @@ from aiflows.utils.general_helpers import read_yaml_file
8
 
9
  from aiflows import logging
10
  from aiflows.flow_cache import CACHING_PARAMETERS, clear_cache
11
- from aiflows.utils.general_helpers import update_api_infos
12
 
13
  CACHING_PARAMETERS.do_caching = False # Set to True in order to disable caching
14
  # clear_cache() # Uncomment this line to clear the cache
@@ -38,7 +38,7 @@ if __name__ == "__main__":
38
  cfg = read_yaml_file(cfg_path)
39
 
40
  # ~~~ setting api information into config ~~~
41
- update_api_infos(cfg, api_information)
42
 
43
  # ~~~ instantiating the flow and input data ~~~
44
  PlanWriterFlow = hydra.utils.instantiate(cfg, _recursive_=False, _convert_="partial")
 
8
 
9
  from aiflows import logging
10
  from aiflows.flow_cache import CACHING_PARAMETERS, clear_cache
11
+ from aiflows.utils.general_helpers import quick_load
12
 
13
  CACHING_PARAMETERS.do_caching = False # Set to True in order to disable caching
14
  # clear_cache() # Uncomment this line to clear the cache
 
38
  cfg = read_yaml_file(cfg_path)
39
 
40
  # ~~~ setting api information into config ~~~
41
+ quick_load(cfg, api_information)
42
 
43
  # ~~~ instantiating the flow and input data ~~~
44
  PlanWriterFlow = hydra.utils.instantiate(cfg, _recursive_=False, _convert_="partial")