From 6f832086b99a4b684bb1a0936567bf59c2797bae Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 5 Jul 2023 22:50:31 -0400 Subject: [PATCH] yaml config --- .../workers/multi_modal_workers/omni_agent/omni_chat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swarms/agents/workers/multi_modal_workers/omni_agent/omni_chat.py b/swarms/agents/workers/multi_modal_workers/omni_agent/omni_chat.py index f63cf873..5d4356ad 100644 --- a/swarms/agents/workers/multi_modal_workers/omni_agent/omni_chat.py +++ b/swarms/agents/workers/multi_modal_workers/omni_agent/omni_chat.py @@ -27,12 +27,12 @@ from huggingface_hub.inference_api import InferenceApi from huggingface_hub.inference_api import ALL_TASKS parser = argparse.ArgumentParser() -parser.add_argument("--config", type=str, default="config.yml") +parser.add_argument("--config", type=str, default="swarms/agents/workers/multi_modal_workers/omni_agent/config.yml") parser.add_argument("--mode", type=str, default="cli") args = parser.parse_args() if __name__ != "__main__": - args.config = "config.yml" + args.config = "swarms/agents/workers/multi_modal_workers/omni_agent/config.yml" args.mode = "gradio" config = yaml.load(open(args.config, "r"), Loader=yaml.FullLoader)