"git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "80ecea980e9ac5dc0cc1bddc55774f840ffa4fa2"
Unverified Commit 6f632671 authored by Jennifer Wei's avatar Jennifer Wei Committed by GitHub
Browse files

Merge pull request #470 from rkosai/main

Remove unnecessary double-load of config_json.
parents c48f850a 8b5212da
...@@ -190,11 +190,6 @@ def main(args): ...@@ -190,11 +190,6 @@ def main(args):
custom_config_dict = json.load(f) custom_config_dict = json.load(f)
config.update_from_flattened_dict(custom_config_dict) config.update_from_flattened_dict(custom_config_dict)
if args.experiment_config_json:
with open(args.experiment_config_json, 'r') as f:
custom_config_dict = json.load(f)
config.update_from_flattened_dict(custom_config_dict)
if args.trace_model: if args.trace_model:
if not config.data.predict.fixed_size: if not config.data.predict.fixed_size:
raise ValueError( raise ValueError(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment