Skip to content

Commit

Permalink
fix(api): correct continuation syntax for Windows launch scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Mar 9, 2023
1 parent 35303c7 commit 6c47542
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions api/launch-extras.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ python -m onnx_web.convert ^
--upscaling ^
--correction ^
--extras=%ONNX_WEB_EXTRA_MODELS% ^
--token=%HF_TOKEN% ^
%ONNX_WEB_EXTRA_ARGS%
--token=%HF_TOKEN% %ONNX_WEB_EXTRA_ARGS%

echo "Launching API server..."
flask --app="onnx_web.main:run" run --host=0.0.0.0
3 changes: 1 addition & 2 deletions api/launch.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ python -m onnx_web.convert ^
--diffusion ^
--upscaling ^
--correction ^
--token=%HF_TOKEN% ^
%ONNX_WEB_EXTRA_ARGS%
--token=%HF_TOKEN% %ONNX_WEB_EXTRA_ARGS%

echo "Launching API server..."
flask --app="onnx_web.main:run" run --host=0.0.0.0

0 comments on commit 6c47542

Please sign in to comment.