2023-02-01 04:53:41 +00:00
|
|
|
echo "Downloading and converting models to ONNX format..."
|
2023-02-14 05:15:43 +00:00
|
|
|
python -m onnx_web.convert --sources --diffusion --upscaling --correction --token=%HF_TOKEN%
|
2023-02-01 04:53:41 +00:00
|
|
|
|
|
|
|
echo "Launching API server..."
|
2023-02-26 21:21:58 +00:00
|
|
|
flask --app="onnx_web.serve:run" run --host=0.0.0.0
|