Skip to content

Commit

Permalink
feat(api): add launch script for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Feb 1, 2023
1 parent 6c9b0c9 commit fa7e5e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/launch.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
echo "Downloading and converting models to ONNX format..."
python3 -m onnx_web.convert --diffusion --upscaling --correction --extras --token=%HF_TOKEN%

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

0 comments on commit fa7e5e8

Please sign in to comment.