Skip to content

Commit

Permalink
fix(api): change default web UI path to match docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Dec 22, 2023
1 parent a6cb630 commit 6bec3b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/onnx_web/server/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def from_environ(cls, env=environ):
memory_limit = int(memory_limit)

return cls(
bundle_path=env.get("ONNX_WEB_BUNDLE_PATH", path.join("..", "gui", "out")),
bundle_path=env.get("ONNX_WEB_BUNDLE_PATH", path.join(".", "gui")),
model_path=env.get("ONNX_WEB_MODEL_PATH", path.join("..", "models")),
output_path=env.get("ONNX_WEB_OUTPUT_PATH", path.join("..", "outputs")),
params_path=env.get("ONNX_WEB_PARAMS_PATH", "."),
Expand Down

0 comments on commit 6bec3b0

Please sign in to comment.