1
0
Fork 0

fix(api): correct continuation syntax for Windows launch scripts

This commit is contained in:
Sean Sube 2023-03-08 21:43:02 -06:00
parent 35303c7d20
commit 6c47542d46
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
2 changed files with 2 additions and 4 deletions

View File

@ -6,8 +6,7 @@ python -m onnx_web.convert ^
--upscaling ^ --upscaling ^
--correction ^ --correction ^
--extras=%ONNX_WEB_EXTRA_MODELS% ^ --extras=%ONNX_WEB_EXTRA_MODELS% ^
--token=%HF_TOKEN% ^ --token=%HF_TOKEN% %ONNX_WEB_EXTRA_ARGS%
%ONNX_WEB_EXTRA_ARGS%
echo "Launching API server..." echo "Launching API server..."
flask --app="onnx_web.main:run" run --host=0.0.0.0 flask --app="onnx_web.main:run" run --host=0.0.0.0

View File

@ -4,8 +4,7 @@ python -m onnx_web.convert ^
--diffusion ^ --diffusion ^
--upscaling ^ --upscaling ^
--correction ^ --correction ^
--token=%HF_TOKEN% ^ --token=%HF_TOKEN% %ONNX_WEB_EXTRA_ARGS%
%ONNX_WEB_EXTRA_ARGS%
echo "Launching API server..." echo "Launching API server..."
flask --app="onnx_web.main:run" run --host=0.0.0.0 flask --app="onnx_web.main:run" run --host=0.0.0.0