From a370aeb15fd82ea9ffe3096106e4d2470285f375 Mon Sep 17 00:00:00 2001 From: Ati Sharma Date: Mon, 9 Sep 2024 09:19:12 +0100 Subject: [PATCH] Fix tabby_config.py _from_file Update tabby_config.py to fix issue #196 --- common/tabby_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tabby_config.py b/common/tabby_config.py index f3a189f..efde051 100644 --- a/common/tabby_config.py +++ b/common/tabby_config.py @@ -61,7 +61,7 @@ class TabbyConfig: config_override = unwrap(args.get("options", {}).get("config")) if config_override: logger.info("Config file override detected in args.") - config = self.from_file(pathlib.Path(config_override)) + config = self._from_file(pathlib.Path(config_override)) return config # Return early if loading from file for key in ["network", "model", "logging", "developer", "embeddings"]: