fix(api): correct continuation syntax for Windows launch scripts
This commit is contained in:
parent
35303c7d20
commit
6c47542d46
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue