mirror of
https://github.com/augustin64/projet-tipe
synced 2025-01-24 07:36:24 +01:00
Update make.sh
This commit is contained in:
parent
40cc1226dc
commit
1b2cb44df0
7
make.sh
7
make.sh
@ -77,6 +77,13 @@ if [[ $1 == "recognize" ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ $1 == "webserver" ]]; then
|
||||
[[ -f "$OUT/main" ]] || $0 build
|
||||
[[ -f ".cache/reseau.bin" ]] || $0 train train
|
||||
FLASK_APP="src/webserver/app.py" flask run
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "Usage:"
|
||||
echo -e "\t$0 preview ( build | train | t10k )"
|
||||
echo -e "\t$0 test ( build | run )"
|
||||
|
Loading…
Reference in New Issue
Block a user