Skip to content

Commit

Permalink
fix(exe): load extras file from model path again
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed May 1, 2023
1 parent 4c7e48b commit 26bd8cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exe/onnx-web-full.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set ONNX_WEB_OUTPUT_PATH=%ONNX_WEB_BASE_PATH%\outputs

REM customize these as needed
set ONNX_WEB_CACHE_MODELS=0
set ONNX_WEB_EXTRA_MODELS=%ONNX_WEB_BASE_PATH%\extras.json
set ONNX_WEB_EXTRA_MODELS=%ONNX_WEB_MODEL_PATH%\extras.json

REM convert models and launch the server
@echo Launching onnx-web in fp32 mode...
Expand Down
2 changes: 1 addition & 1 deletion exe/onnx-web-half.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set ONNX_WEB_OUTPUT_PATH=%ONNX_WEB_BASE_PATH%\outputs
REM customize these as needed
set ONNX_WEB_BLOCK_PLATFORMS=cpu
set ONNX_WEB_CACHE_MODELS=0
set ONNX_WEB_EXTRA_MODELS=%ONNX_WEB_BASE_PATH%\models\extras.json
set ONNX_WEB_EXTRA_MODELS=%ONNX_WEB_MODEL_PATH%\extras.json

REM convert models and launch the server
@echo Launching onnx-web in fp16 mode...
Expand Down

0 comments on commit 26bd8cd

Please sign in to comment.