Skip to content

Commit

Permalink
fix(api): get all server paths from environ
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 16, 2023
1 parent c98c0ff commit 4809e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/onnx_web/serve.py
Expand Up @@ -215,7 +215,7 @@ def load_params(context: ServerContext):
config_params = json.load(f)


context = ServerContext()
context = ServerContext.from_environ()

check_paths(context)
load_models(context)
Expand Down

0 comments on commit 4809e00

Please sign in to comment.