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