Tachi67 commited on
Commit
7ee7199
·
1 Parent(s): 795e9c8

Update run_ExtendLibrary.py

Browse files
Files changed (1) hide show
  1. run_ExtendLibrary.py +2 -2
run_ExtendLibrary.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
@@ -41,7 +41,7 @@ if __name__ == "__main__":
41
  cfg_path = os.path.join(current_dir, "ExtendLibraryFlow.yaml")
42
  cfg = read_yaml_file(cfg_path)
43
  # ~~~ setting api information into config ~~~
44
- update_api_infos(cfg, api_information)
45
 
46
  # ~~~ setting memory files into config ~~~
47
  code_lib_file_loc = os.path.join(current_dir, "library.py")
 
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
 
41
  cfg_path = os.path.join(current_dir, "ExtendLibraryFlow.yaml")
42
  cfg = read_yaml_file(cfg_path)
43
  # ~~~ setting api information into config ~~~
44
+ quick_load(cfg, api_information)
45
 
46
  # ~~~ setting memory files into config ~~~
47
  code_lib_file_loc = os.path.join(current_dir, "library.py")