Tachi67 commited on
Commit
0723ccd
1 Parent(s): b0a47d8

Update run_Jarvis.py

Browse files
Files changed (1) hide show
  1. run_Jarvis.py +2 -2
run_Jarvis.py CHANGED
@@ -5,7 +5,7 @@ import hydra
5
  from aiflows.backends.api_info import ApiInfo
6
  from aiflows.messages import InputMessage
7
  from aiflows.utils.general_helpers import read_yaml_file
8
- from aiflows.utils.general_helpers import update_api_infos
9
 
10
  from aiflows import logging
11
  from aiflows.flow_cache import CACHING_PARAMETERS, clear_cache
@@ -92,7 +92,7 @@ if __name__ == "__main__":
92
  cfg = read_yaml_file(cfg_path)
93
 
94
  # ~~~ setting api information into config ~~~
95
- update_api_infos(cfg, api_information)
96
 
97
  # ~~~ setting memory files into config ~~~
98
  set_up_memfiles(cfg)
 
5
  from aiflows.backends.api_info import ApiInfo
6
  from aiflows.messages import InputMessage
7
  from aiflows.utils.general_helpers import read_yaml_file
8
+ from aiflows.utils.general_helpers import quick_load
9
 
10
  from aiflows import logging
11
  from aiflows.flow_cache import CACHING_PARAMETERS, clear_cache
 
92
  cfg = read_yaml_file(cfg_path)
93
 
94
  # ~~~ setting api information into config ~~~
95
+ quick_load(cfg, api_information)
96
 
97
  # ~~~ setting memory files into config ~~~
98
  set_up_memfiles(cfg)