Update run_ExtendLibrary.py
Browse files- 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
|
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 |
-
|
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")
|