Deleted the model download code from docker startup command.

This commit is contained in:
faltiska 2025-06-08 11:11:00 +03:00
parent 4193ae8ec8
commit 7fdfd66992

View file

@ -1,8 +1,4 @@
#!/bin/bash #!/bin/bash
set -e set -e
if [ "$DOWNLOAD_MODEL" = "true" ]; then exec python -m uvicorn api.src.main:app --host 0.0.0.0 --port 8880 --log-level info
python download_model.py --output api/src/models/v1_0
fi
exec uv run --extra $DEVICE --no-sync python -m uvicorn api.src.main:app --host 0.0.0.0 --port 8880 --log-level debug