mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-27 09:41:54 +00:00
Merge pull request #197 from atisharma/issue_196
Fix tabby_config.py _from_file
This commit is contained in:
@@ -61,7 +61,7 @@ class TabbyConfig:
|
|||||||
config_override = unwrap(args.get("options", {}).get("config"))
|
config_override = unwrap(args.get("options", {}).get("config"))
|
||||||
if config_override:
|
if config_override:
|
||||||
logger.info("Config file override detected in args.")
|
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
|
return config # Return early if loading from file
|
||||||
|
|
||||||
for key in ["network", "model", "logging", "developer", "embeddings"]:
|
for key in ["network", "model", "logging", "developer", "embeddings"]:
|
||||||
|
|||||||
Reference in New Issue
Block a user