1
0
Fork 0
onnx-web/api/launch.bat

11 lines
267 B
Batchfile

echo "Downloading and converting models to ONNX format..."
python -m onnx_web.convert ^
--sources ^
--diffusion ^
--upscaling ^
--correction ^
--token=%HF_TOKEN% %ONNX_WEB_EXTRA_ARGS%
echo "Launching API server..."
flask --app="onnx_web.main:run" run --host=0.0.0.0